Module: sip-router
Branch: master
Commit: 14d6f347f72515e88f790fe11906c86af35a20f9
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=14d6f34…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)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;
}