Module: kamailio Branch: master Commit: c1836c5c35f8e8fcc033d8d5a417ed700eeebe16 URL: https://github.com/kamailio/kamailio/commit/c1836c5c35f8e8fcc033d8d5a417ed70...
Author: Ovidiu Sas osas@voipembedded.com Committer: Ovidiu Sas osas@voipembedded.com Date: 2015-01-13T11:47:19-05:00
modparam.c: logging: DBG -> LM_DBG
---
Modified: modparam.c
---
Diff: https://github.com/kamailio/kamailio/commit/c1836c5c35f8e8fcc033d8d5a417ed70... Patch: https://github.com/kamailio/kamailio/commit/c1836c5c35f8e8fcc033d8d5a417ed70...
---
diff --git a/modparam.c b/modparam.c index e3db03d..087f11e 100644 --- a/modparam.c +++ b/modparam.c @@ -78,8 +78,7 @@ int set_mod_param_regex(char* regex, char* name, modparam_t type, void* val) mod_found = 0; for(t = modules; t; t = t->next) { if (regexec(&preg, t->exports.name, 0, 0, 0) == 0) { - DBG("set_mod_param_regex: '%s' matches module '%s'\n", - regex, t->exports.name); + LM_DBG("'%s' matches module '%s'\n", regex, t->exports.name); mod_found = 1; /* PARAM_STR (PARAM_STRING) may be assigned also to PARAM_STRING(PARAM_STR) so let get both module param */ ptr = find_param_export(t, name, type | ((type & (PARAM_STR|PARAM_STRING))?PARAM_STR|PARAM_STRING:0), ¶m_type); @@ -95,8 +94,7 @@ int set_mod_param_regex(char* regex, char* name, modparam_t type, void* val) } else { val2 = val; } - DBG("set_mod_param_regex: found <%s> in module %s [%s]\n", - name, t->exports.name, t->path); + LM_DBG("found <%s> in module %s [%s]\n", name, t->exports.name, t->path); if (param_type & PARAM_USE_FUNC) { if ( ((param_func_t)(ptr))(param_type, val2) < 0) { regfree(&preg);