mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-20 21:31:28 +02:00
MINOR: cfgparse: Improve error message for invalid \x sequences
This patch states the invalid \x sequence within the error message.
This commit is contained in:
parent
e6291956e7
commit
ac4930e00c
@ -1965,7 +1965,7 @@ next_line:
|
||||
skip = 3;
|
||||
}
|
||||
else {
|
||||
ha_alert("parsing [%s:%d] : invalid or incomplete '\\x' sequence in '%s'.\n", file, linenum, args[0]);
|
||||
ha_alert("parsing [%s:%d] : invalid or incomplete '\\x' sequence '%.*s' in '%s'.\n", file, linenum, 4, line, args[0]);
|
||||
err_code |= ERR_ALERT | ERR_FATAL;
|
||||
goto next_line;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user