[sr-dev] git:master: iptrtpproxy: cfg_parser api update
Andrei Pelinescu-Onciul
andrei at iptel.org
Tue Sep 7 18:40:13 CEST 2010
Module: sip-router
Branch: master
Commit: 0a4f422278f2807c955e0613af09f05d4c0d51c2
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0a4f422278f2807c955e0613af09f05d4c0d51c2
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Tue Sep 7 17:10:44 2010 +0200
iptrtpproxy: cfg_parser api update
Update cfg_parser_init() usage.
---
modules/iptrtpproxy/iptrtpproxy.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/iptrtpproxy/iptrtpproxy.c b/modules/iptrtpproxy/iptrtpproxy.c
index 3f9fb7a..670285b 100644
--- a/modules/iptrtpproxy/iptrtpproxy.c
+++ b/modules/iptrtpproxy/iptrtpproxy.c
@@ -1046,7 +1046,7 @@ skip:
static int parse_iptrtpproxy_cfg() {
cfg_parser_t* parser = NULL;
struct switchboard_item *si;
- if ((parser = cfg_parser_init(&iptrtpproxy_cfg_filename)) == NULL) {
+ if ((parser = cfg_parser_init(0, &iptrtpproxy_cfg_filename)) == NULL) {
ERR(MODULE_NAME"parse_iptrtpproxy_cfg: Error while initializing configuration file parser.\n");
return -1;
}
More information about the sr-dev
mailing list