Skip to content

Commit

Permalink
core: parser - print start of buffer on error for identity info
Browse files Browse the repository at this point in the history
(cherry picked from commit 48dc90d)
(cherry picked from commit dc5eda2)
  • Loading branch information
miconda committed Mar 2, 2022
1 parent aec3e22 commit 94a7f11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/parser/parse_identityinfo.c
Expand Up @@ -312,7 +312,7 @@ void parse_identityinfo(char *buffer, char *end, struct identityinfo_body *ii_b)
parseerror:
if(p<end) {
LM_ERR("unexpected char [%c] in status %d: <<%.*s>> .\n",
*p, status, (int)(p-buffer), ZSW(p));
*p, status, (int)(p-buffer), buffer);
} else {
LM_ERR("unexpected end of buffer - status %d\n", status);
}
Expand Down

0 comments on commit 94a7f11

Please sign in to comment.