]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: standard: make indent_msg() support empty messages
authorWilly Tarreau <w@1wt.eu>
Wed, 10 Oct 2012 06:56:47 +0000 (08:56 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 10 Oct 2012 15:42:39 +0000 (17:42 +0200)
commit70eec3832f5009c3bc3fa7cf57a44902b5a16928
tree501f424cb727dc19cec8d5d6b7a26b5a11604c5b
parent21faa91be60beb8f5ed106a78a1d25e73f9c2ae6
MINOR: standard: make indent_msg() support empty messages

indent_msg() is called with dynamically generated messages, so these
may be empty (NULL) when an empty list is being dumped. Support this
and return a NULL too.
src/standard.c