commit | 5529424ef1c9aae4ca714a99ffca2082e533781f | [log] [tgz] |
---|---|---|
author | Erwan Le Goas <elegoas@haproxy.com> | Fri Sep 23 15:06:34 2022 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Sep 28 15:16:29 2022 +0200 |
tree | 88540152a2a8d76aec331a3223fb48bb453e6f15 | |
parent | 3a374eaeebb6aab0302653d048d08707c1ecd17c [diff] |
BUG/MINOR: config: don't count trailing spaces as empty arg In parse_line(), spaces increment the arg count and it is incremented again on '#' or end of line, resulting in an extra empty arg at the end of arg's list. The visible effect is that the reported arg count is in excess of 1. It doesn't seem to affect regular function but specialized ones like anonymisation depends on this count. This may need to be backported to stable versions.