commit | 71990e6becb0d448915e453e4ce17dde67b8563b | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu May 06 07:52:50 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu May 06 10:35:03 2021 +0200 |
tree | 3154d64b93bd3b631e078e859b249afe47d73ae9 | |
parent | f67ff020720dc403fcf65b0b2807b27a215c42cf [diff] |
BUG/MINOR: config: .if/.elif should also accept negative integers The doc about .if/.elif config block conditions says: a non-nul integer (e.g. '1'), always returns "true" So we must accept negative integers as well. The test was made on atoi() > 0. No backport is needed, this is only 2.4.