Skip to content

Commit

Permalink
cfg_parser.c: logging: DBG -> LM_DBG
Browse files Browse the repository at this point in the history
  • Loading branch information
ovidiusas committed Jan 13, 2015
1 parent 57b1c29 commit 37eaa96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cfg_parser.c
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit 37eaa96

Please sign in to comment.