Module: sip-router Branch: tirpi/cfg_framework_multivalue Commit: 1e3ac66d09b8cd0759b81187169ac2d3552eb2d2 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1e3ac66d...
Author: Miklos Tirpak miklos@iptel.org Committer: Miklos Tirpak miklos@iptel.org Date: Wed Sep 8 16:58:18 2010 +0200
cfg framework: log message added
cfg_set_now() prints out the id of the group which is modified.
---
cfg/cfg_ctx.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/cfg/cfg_ctx.c b/cfg/cfg_ctx.c index 1ca2ec9..cbdd5a7 100644 --- a/cfg/cfg_ctx.c +++ b/cfg/cfg_ctx.c @@ -584,6 +584,9 @@ int cfg_set_now(cfg_ctx_t *ctx, str *group_name, unsigned int *group_id, str *va group_name->len, group_name->s, var_name->len, var_name->s, ((str *)val)->len, ((str *)val)->s); + if (group_id) + LOG(L_INFO, "INFO: cfg_set_now(): group id = %u\n", + *group_id);
convert_val_cleanup(); return 0;