]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: cfgparse: Fix the call to post parser of the last sections parsed
authorChristopher Faulet <cfaulet@haproxy.com>
Sun, 2 Dec 2018 08:37:38 +0000 (09:37 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Dec 2018 09:21:47 +0000 (10:21 +0100)
commitbf7a9597e2e27f999562043eca6b95763d166130
tree8fdb9ca52f651bd53f043d82673cd3e543ac7b21
parent61ea7dc005bc490ed3e5298ade3d932926fdb9f7
BUG/MINOR: cfgparse: Fix the call to post parser of the last sections parsed

Wrong variable was used to know if we need to call the callback
post_section_parser() or not. We must use 'cs' and not 'pcs'.

This patch must be backported in 1.8 with the commit 7805e2b ("BUG/MINOR:
cfgparse: Fix transition between 2 sections with the same name").
src/cfgparse.c