Module: kamailio
Branch: master
Commit: 37eaa968b6f4da93ae97fdb17b0442916ff510cb
URL:
https://github.com/kamailio/kamailio/commit/37eaa968b6f4da93ae97fdb17b04429…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Ovidiu Sas <osas(a)voipembedded.com>
Date: 2015-01-13T10:50:36-05:00
cfg_parser.c: logging: DBG -> LM_DBG
---
Modified: cfg_parser.c
---
Diff:
https://github.com/kamailio/kamailio/commit/37eaa968b6f4da93ae97fdb17b04429…
Patch:
https://github.com/kamailio/kamailio/commit/37eaa968b6f4da93ae97fdb17b04429…
---
diff --git a/cfg_parser.c b/cfg_parser.c
index 5b3cc12..d8cb21e 100644
--- a/cfg_parser.c
+++ b/cfg_parser.c
@@ -283,7 +283,7 @@ static void print_token(cfg_token_t* token)
char* buf;
if ((buf = pkg_malloc(token->val.len * 2)) == NULL) {
- DBG("token(%d, '%.*s', <%d,%d>-<%d,%d>)\n",
+ LM_DBG("token(%d, '%.*s', <%d,%d>-<%d,%d>)\n",
token->type, STR_FMT(&token->val),
token->start.line, token->start.col,
token->end.line, token->end.col);
@@ -298,7 +298,7 @@ static void print_token(cfg_token_t* token)
default: buf[j++] = token->val.s[i];
}
}
- DBG("token(%d, '%.*s', <%d,%d>-<%d,%d>)\n",
+ LM_DBG("token(%d, '%.*s', <%d,%d>-<%d,%d>)\n",
token->type, j, buf,
token->start.line, token->start.col,
token->end.line, token->end.col);