]> git.kaiwu.me - haproxy.git/commit
BUILD: servers: Fix build with -std=gnu89
authorOlivier Houchard <cognet@ci0.org>
Wed, 10 Jun 2026 08:23:18 +0000 (10:23 +0200)
committerOlivier Houchard <cognet@ci0.org>
Wed, 10 Jun 2026 08:28:52 +0000 (10:28 +0200)
commit6c75202b480de2053f848aba144a74ec3b25b3ce
tree06163f3d3f82c8d385dbb88bf569c24d9423c6fd
parentfb38e40ad5751090992cde15d919866b1e91b8aa
BUILD: servers: Fix build with -std=gnu89

Commit 3c923d075 introduced a C99ism by declaring a variable in a for loop,
don't do that, especially since there already is a variable named "i"
declared.
This should fix the build when -std=c89 is used.
This should be backported if commit 3c923d075 is backported.
src/cfgparse.c