]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DEBUG: fd: split the fd check
authorWilliam Lallemand <wlallemand@haproxy.org>
Tue, 26 Jul 2022 08:35:24 +0000 (10:35 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Tue, 26 Jul 2022 08:35:24 +0000 (10:35 +0200)
commitdc66f2f97d76613d732c49cc326791863b018f0e
treeb77a0eccbae13e6adcd549c97860783bc27abd40
parent244331f6e7f2f22275cc20eeba2a0c36e27f4e7a
DEBUG: fd: split the fd check

Split the BUG_ON(fd < 0 || fd >= global.maxsock) so it's easier to know
if it quits because of a -1.
include/haproxy/fd.h