]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DEBUG: rename WARN_ON_ONCE() to CHECK_IF()
authorWilly Tarreau <w@1wt.eu>
Mon, 28 Feb 2022 10:51:23 +0000 (11:51 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 28 Feb 2022 10:51:23 +0000 (11:51 +0100)
commit6d3f1e322eb4fcfcdb27c4ebbfcd0e559d387533
tree21894e6b4385d7e378f92e83919d08b3101b4e88
parent3b1d19083161ad036187180a2f3d6539cf8db027
DEBUG: rename WARN_ON_ONCE() to CHECK_IF()

The only reason for warning once is to check if a condition really
happens. Let's use a term that better translates the intent, that's
important when reading the code.
include/haproxy/bug.h
src/debug.c