]> git.kaiwu.me - haproxy.git/commit
MINOR: tools: add a DEFNULL() macro to use NULL for empty args
authorWilly Tarreau <w@1wt.eu>
Mon, 19 Aug 2019 15:39:33 +0000 (17:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 22 Aug 2019 18:21:00 +0000 (20:21 +0200)
commit32c24552e478f31192dc63975573bf2b6ea18267
treea5ffd0dfa19a77fee11c2cf7e79ffb4b114cbb05
parent9bead8c7f5f6acd236c3adbabad796153fcae4cc
MINOR: tools: add a DEFNULL() macro to use NULL for empty args

It's sometimes convenient for debugging macros not to be forced to
explicitly pass NULL in an unused argument. This macro does this, it
replaces a missing arg with NULL.
include/common/standard.h