Browse code

cfg_parser.c: logging: DBG -> LM_DBG

Ovidiu Sas authored on 13/01/2015 15:50:36
Showing 1 changed files
... ...
@@ -283,7 +283,7 @@ static void print_token(cfg_token_t* token)
283 283
 	char* buf;
284 284
 
285 285
 	if ((buf = pkg_malloc(token->val.len * 2)) == NULL) {
286
-		DBG("token(%d, '%.*s', <%d,%d>-<%d,%d>)\n", 
286
+		LM_DBG("token(%d, '%.*s', <%d,%d>-<%d,%d>)\n", 
287 287
 			token->type, STR_FMT(&token->val),
288 288
 			token->start.line, token->start.col, 
289 289
 			token->end.line, token->end.col);
... ...
@@ -298,7 +298,7 @@ static void print_token(cfg_token_t* token)
298 298
 			default: buf[j++] = token->val.s[i];
299 299
 			}
300 300
 		}
301
-		DBG("token(%d, '%.*s', <%d,%d>-<%d,%d>)\n", 
301
+		LM_DBG("token(%d, '%.*s', <%d,%d>-<%d,%d>)\n", 
302 302
 			token->type, j, buf,
303 303
 			token->start.line, token->start.col, 
304 304
 			token->end.line, token->end.col);