Module: sip-router
Branch: tirpi/cfg_framework_multivalue
Commit: ebd2739e1d45623529f9e4663204d15b8daaa78f
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ebd2739…
Author: Miklos Tirpak <miklos(a)iptel.org>
Committer: Miklos Tirpak <miklos(a)iptel.org>
Date: Tue Sep 14 16:23:15 2010 +0200
cfg_db: updated to the cfg framework changes
---
modules/tls/tls_init.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/tls/tls_init.c b/modules/tls/tls_init.c
index ed792aa..a57772e 100644
--- a/modules/tls/tls_init.c
+++ b/modules/tls/tls_init.c
@@ -605,7 +605,7 @@ int init_tls_h(void)
s.s = "low_mem_threshold1";
s.len = strlen(s.s);
if (low_mem_threshold1 != cfg_get(tls, tls_cfg, low_mem_threshold1) &&
- cfg_set_now_int(cfg_ctx, &tls_grp, &s, low_mem_threshold1)) {
+ cfg_set_now_int(cfg_ctx, &tls_grp, NULL /* group id */, &s,
low_mem_threshold1)) {
ERR("failed to set tls.low_mem_threshold1 to %d\n",
low_mem_threshold1);
return -1;
@@ -613,7 +613,7 @@ int init_tls_h(void)
s.s = "low_mem_threshold2";
s.len = strlen(s.s);
if (low_mem_threshold2 != cfg_get(tls, tls_cfg, low_mem_threshold2) &&
- cfg_set_now_int(cfg_ctx, &tls_grp, &s, low_mem_threshold2)) {
+ cfg_set_now_int(cfg_ctx, &tls_grp, NULL /* group id */, &s,
low_mem_threshold2)) {
ERR("failed to set tls.low_mem_threshold1 to %d\n",
low_mem_threshold2);
return -1;