mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-01 15:16:17 -04:00
BUG/MINOR: stats:Fix incorrect printf type.
The value is defined in include/types/global.h to be an unsigned int. The type format in the printf is for a signed int. This eventually wraps around. WT: This bug was introduced in 1.5.
This commit is contained in:
parent
34d4c3c13f
commit
b197d7f433
1 changed files with 1 additions and 1 deletions
|
|
@ -2492,7 +2492,7 @@ static int stats_dump_info_to_buffer(struct stream_interface *si)
|
|||
"Hard_maxconn: %d\n"
|
||||
"CurrConns: %d\n"
|
||||
"CumConns: %d\n"
|
||||
"CumReq: %d\n"
|
||||
"CumReq: %u\n"
|
||||
#ifdef USE_OPENSSL
|
||||
"MaxSslConns: %d\n"
|
||||
"CurrSslConns: %d\n"
|
||||
|
|
|
|||
Loading…
Reference in a new issue