]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: server-state: avoid using not-so-portable isblank()
authorWilly Tarreau <w@1wt.eu>
Fri, 28 Jan 2022 08:32:43 +0000 (09:32 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 28 Jan 2022 18:04:02 +0000 (19:04 +0100)
commit74bc9916006045bf4728b84550a40cde90987c3e
tree7001a0a9bd3939cb49724961d247bce6f5b74773
parente90dde1edf43eb8462559354fcd6f7771a5c11d6
BUILD: server-state: avoid using not-so-portable isblank()

Once in a while we get rid of this one. isblank() is missing on old
C libraries and only matches two values, so let's just replace it.
It was brought with this commit in 2.4:

  0bf268e18 ("MINOR: server: Be more strict on the server-state line parsing")

It may be backported though it's really not important.
src/server_state.c