[sr-dev] git:master: ldap(s): 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: 14d6f347f72515e88f790fe11906c86af35a20f9
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=14d6f347f72515e88f790fe11906c86af35a20f9

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Tue Sep  7 17:09:35 2010 +0200

ldap(s): cfg_parser api update

Update cfg_parser_init() use.

---

 modules_s/ldap/ld_cfg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules_s/ldap/ld_cfg.c b/modules_s/ldap/ld_cfg.c
index e442758..7c8bf23 100644
--- a/modules_s/ldap/ld_cfg.c
+++ b/modules_s/ldap/ld_cfg.c
@@ -484,7 +484,7 @@ int ld_load_cfg(str* filename)
 	cfg_parser_t* parser;
 	cfg = NULL;
 
-	if ((parser = cfg_parser_init(filename)) == NULL) {
+	if ((parser = cfg_parser_init(0, filename)) == NULL) {
 		ERR("ldap: Error while initializing configuration file parser.\n");
 		return -1;
 	}




More information about the sr-dev mailing list