MINOR: server: Only fill one array when parsing a server-state line
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 12 Feb 2021 18:02:21 +0000 (19:02 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 25 Feb 2021 09:02:39 +0000 (10:02 +0100)
commit2a031ecd96159c964182375fb0e868571beb2ebf
treeca7721439489cfab5b8da3c9f7228d07125c258a
parent0bf268e18484bf3107b3c952a82d17e141ce1976
MINOR: server: Only fill one array when parsing a server-state line

There is no reason to fill two parameter arrays in srv_state_parse_line()
function. Now, only one array is used. The 4th first entries are just
skipped when srv_update_state() is called.
src/server.c