Module: sip-router Branch: tirpi/cfg_framework_multivalue Commit: 59d6804bf0aad9344dd10c75b905e55e793da19b URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=59d6804b...
Author: Miklos Tirpak miklos@iptel.org Committer: Miklos Tirpak miklos@iptel.org Date: Wed Sep 15 13:50:56 2010 +0200
cfg framework: cfg_commit() log message fixes
---
cfg/cfg_ctx.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cfg/cfg_ctx.c b/cfg/cfg_ctx.c index 534cf49..94f5878 100644 --- a/cfg/cfg_ctx.c +++ b/cfg/cfg_ctx.c @@ -1028,7 +1028,7 @@ int cfg_commit(cfg_ctx_t *ctx) if (!(CFG_GROUP_META(block, group)->array = cfg_clone_array(CFG_GROUP_META(*cfg_global, group), group)) ) { - LOG(L_ERR, "ERROR: cfg_set_now(): group array cannot be cloned for %.*s[%u]\n", + LOG(L_ERR, "ERROR: cfg_commit(): group array cannot be cloned for %.*s[%u]\n", group->name_len, group->name, changed->group_id); goto error; } @@ -1044,7 +1044,7 @@ int cfg_commit(cfg_ctx_t *ctx) changed->group_id); } if (!group_inst) { - LOG(L_ERR, "ERROR: cfg_set_now(): global group instance %.*s[%u] is not found\n", + LOG(L_ERR, "ERROR: cfg_commit(): global group instance %.*s[%u] is not found\n", group->name_len, group->name, changed->group_id); goto error; }