commit | 1d48ba91d7f8e7d7c1908305ac124830dd414292 | [log] [tgz] |
---|---|---|
author | Tim Duesterhus <tim@bastelstu.be> | Fri Feb 21 13:02:04 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Feb 25 07:30:49 2020 +0100 |
tree | 3c4831f002dd0a09ad7eb52402ee78c8936c3ff4 | |
parent | 927063b8920c275ad6599b4cafc7b8742f5cc626 [diff] |
CLEANUP: net_helper: Do not negate the result of unlikely This patch turns the double negation of 'not unlikely' into 'likely' and then turns the negation of 'not smaller' into 'greater or equal' in an attempt to improve readability of the condition. [wt: this was not a bug but purposely written like this to improve code generation on older compilers but not needed anymore as described here: https://www.mail-archive.com/haproxy@formilux.org/msg36392.html ]