浏览代码

cfg_parser.c: logging: DBG -> LM_DBG

Ovidiu Sas 10 年之前
父节点
当前提交
37eaa968b6
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      cfg_parser.c

+ 2 - 2
cfg_parser.c

@@ -283,7 +283,7 @@ static void print_token(cfg_token_t* token)
 	char* buf;
 	char* buf;
 
 
 	if ((buf = pkg_malloc(token->val.len * 2)) == NULL) {
 	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->type, STR_FMT(&token->val),
 			token->start.line, token->start.col, 
 			token->start.line, token->start.col, 
 			token->end.line, token->end.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];
 			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->type, j, buf,
 			token->start.line, token->start.col, 
 			token->start.line, token->start.col, 
 			token->end.line, token->end.col);
 			token->end.line, token->end.col);