]> git.kaiwu.me - haproxy.git/commit
CLEANUP: config: maxcompcpuusage is never negative
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Jan 2013 15:25:38 +0000 (16:25 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Jan 2013 15:25:38 +0000 (16:25 +0100)
commitcb2699a15231f429b301fffb4278a092dc9c0a85
treebc263ae11a62d7fd90fe2023ecd7756644b4de69
parent3a3bbcd6f1fd3b5629ca1759104b0e58ad637dc0
CLEANUP: config: maxcompcpuusage is never negative

No need to check for a negative value in the "maxcompcpuusage" argument,
it's an unsigned int.

Reported-by: Dinko Korunic <dkorunic@reflected.net>
src/cfgparse.c