]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: fix a warning emitted by isblank() on non-c99 compilers
authorWilly Tarreau <w@1wt.eu>
Wed, 13 Feb 2013 11:47:12 +0000 (12:47 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 13 Feb 2013 11:49:46 +0000 (12:49 +0100)
commit8b4c37628831828cd651ec6820121224586f6ed2
treee053ca8e4404aab6cda1ccdd4d4670dcfb052389
parenta2b9dadedde8bffdc5744d771b765bc7647569c7
BUILD: fix a warning emitted by isblank() on non-c99 compilers

Commit a2b9dad introduced use of isblank() which is not present everywhere
and requires -std=c99 or various other defines. Here on gcc-3.4 with glibc
2.3 it emits a warning though it works :

  src/checks.c: In function 'event_srv_chk_r':
  src/checks.c:1007: warning: implicit declaration of function 'isblank'

This macro matches only 2 values, better replace it with the explicit match.
src/checks.c