]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: log: add_to_logformat_list() used the wrong constants
authorWilly Tarreau <w@1wt.eu>
Thu, 20 Dec 2012 20:59:12 +0000 (21:59 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 20 Dec 2012 21:02:09 +0000 (22:02 +0100)
commita3571668896a600c3ffc1427201abd03d80e6b49
tree50983d04edd38b418a43e4ef113244a94fcc82f7
parent2beef5888884adef538ffcc4b2da0a81cd21fe3d
BUG/MINOR: log: add_to_logformat_list() used the wrong constants

The <type> argument was checked against LOG_FMT_* but it was passed as
LF_* which are two independant enums. It happens that the 3 first entries
in these enums do match, but this broke some experimental changes which
required another state, so let's fix this now.
src/log.c