BUG/MINOR: server: Fix test on number of fields allowed in a server-state line
authorChristopher Faulet <cfaulet@haproxy.com>
Sat, 20 Feb 2021 11:15:22 +0000 (12:15 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Sat, 20 Feb 2021 11:24:12 +0000 (12:24 +0100)
commit28d7876a0cb0f2e8fa46c216937d361b0d7bcfbc
treef7c25abbc4338ebf9a850c39f58d8ba6d77dd43a
parent938e85b22826d0f13f35539d2ea9ff7ac9b90fe5
BUG/MINOR: server: Fix test on number of fields allowed in a server-state line

When a server-state line is parsed, a test is performed to be sure there is
enough but not too much fields. However the test is buggy. The bug was
introduced in the commit ea2cdf55e ("MEDIUM: server: Don't introduce a new
server-state file version").

No backport needed.
src/server.c