mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 15:47:01 +02:00
MINOR: logformat %st is signed
replace ultoa by ltoa for HTTP status code (can be -1)
This commit is contained in:
parent
afdb6e57f7
commit
7f25debbd2
@ -913,7 +913,7 @@ void sess_log(struct session *s)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case LOG_STATUS: // %st
|
case LOG_STATUS: // %st
|
||||||
tmplog = ultoa_o(txn->status, tmplog, MAX_SYSLOG_LEN - (tmplog - logline));
|
tmplog = ltoa_o(txn->status, tmplog, MAX_SYSLOG_LEN - (tmplog - logline));
|
||||||
if (!tmplog)
|
if (!tmplog)
|
||||||
goto out;
|
goto out;
|
||||||
last_isspace = 0;
|
last_isspace = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user