mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-06 15:22:25 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -913,7 +913,7 @@ void sess_log(struct session *s)
|
|||
break;
|
||||
|
||||
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)
|
||||
goto out;
|
||||
last_isspace = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue