]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: log: silent a warning about isblank() with latest patches
authorWilly Tarreau <w@1wt.eu>
Mon, 2 Dec 2013 23:51:09 +0000 (00:51 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 2 Dec 2013 23:51:09 +0000 (00:51 +0100)
commit9eba36b7267ed6a890af37f4e70934d62ec220a7
tree61459ddde664b9e4e8321dd022e7b46816e8b21a
parent60e0838f60bb941b61b1ed596027a8d70d9de8ba
BUILD: log: silent a warning about isblank() with latest patches

Recent commit 06d97f9 (MEDIUM: log-format: relax parsing of '%' followed
by unsupported characters) caused the following warning on some compilers
since isblank is not always present :

  src/log.c: In function 'parse_logformat_string':
  src/log.c:453: warning: implicit declaration of function 'isblank'

As usual, replace it with the two values (space and tab).
src/log.c