mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-25 15:11:10 +00: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
@ -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 New Issue
Block a user