commit | a1dab55e1e325317e0264a642238e82608a14298 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Apr 14 15:04:54 2014 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Apr 14 15:52:48 2014 +0200 |
tree | 65c65019b844edd6a83f70cdc20ff4698e436125 | |
parent | 348acfe272e099ffaf7d1c6022eaaf19f1d211a7 [diff] |
BUILD/MEDIUM: checks: get rid of sprintf() OpenBSD complains about our use of sprintf() here : src/checks.o(.text+0x44db): In function `process_chk': src/checks.c:766: warning: sprintf() is often misused, please use snprintf() This case was not really clean since the introduction of global.node BTW. Better change the API to support a size argument in the function and enforce the limit.