]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: global: don't prevent nbproc from being redefined
authorWilly Tarreau <w@1wt.eu>
Thu, 15 Nov 2012 16:38:15 +0000 (17:38 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 15 Nov 2012 16:38:15 +0000 (17:38 +0100)
commit247a13a3157bbfeb5760dd12a5e4c8624495b25c
tree5b3eeff77651e75ee52426baeb55b3bd7893817f
parent543db62e1fc9da3a22f5ce91af52594372c8c64e
MINOR: global: don't prevent nbproc from being redefined

Having nbproc preinitialized to zero is really annoying as it prevents
some checks from being correctly performed. Also the check to prevent
nbproc from being redefined is totally useless, so let's preset it to
1 and remove the test.
src/cfgparse.c
src/haproxy.c