CLEANUP: cfgparse: Remove duplication of `MAX_LINE_ARGS + 1`
authorTim Duesterhus <tim@bastelstu.be>
Sat, 5 Jun 2021 22:50:20 +0000 (00:50 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 Jun 2021 08:54:30 +0000 (10:54 +0200)
commitb3168b34a9b8f1ba4a1e722a7613ee7fb850cf91
tree4ea4ad93fe70a0c3c249cb654882426d16d45dbf
parent5c866200d4ec61e02676596d473a2af88916d45e
CLEANUP: cfgparse: Remove duplication of `MAX_LINE_ARGS + 1`

We can calculate the number of possible arguments based off the size of the
`args` array. We should do so to prevent the two values from getting out of
sync.
src/cfgparse.c