]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: debug: make sure DEBUG_STRICT=0 does work as documented
authorWilly Tarreau <w@1wt.eu>
Wed, 10 Apr 2024 07:07:31 +0000 (09:07 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Apr 2024 14:41:08 +0000 (16:41 +0200)
commite791b243f04369ee8c6b2ff883bf31bde955019f
treebfd17185ab8e6f3021d776d3755f86848ef7b9f8
parent2a9ccf5b2583d2b8c20b7a022e5a40dc9e2aec39
BUG/MINOR: debug: make sure DEBUG_STRICT=0 does work as documented

Setting DEBUG_STRICT=0 only validates the defined(DEBUG_STRICT) test
regarding DEBUG_STRICT_ACTION, which is equivalent to DEBUG_STRICT>=0.
Let's make sure the test checks for >0 so that DEBUG_STRICT=0 properly
disables DEBUG_STRICT.
include/haproxy/bug.h