]> git.kaiwu.me - haproxy.git/commit
BUILD/MEDIUM: cfgparse: get rid of sprintf()
authorWilly Tarreau <w@1wt.eu>
Mon, 14 Apr 2014 13:00:39 +0000 (15:00 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 14 Apr 2014 13:52:48 +0000 (15:52 +0200)
commit348acfe272e099ffaf7d1c6022eaaf19f1d211a7
treef78561d5366ce02b17fd83a3c809184df20ed87c
parent761b3d557e28d6bb4df7544fdeffd68b34da9f95
BUILD/MEDIUM: cfgparse: get rid of sprintf()

A few occurrences of sprintf() were causing harmless warnings on OpenBSD :

src/cfgparse.o(.text+0x259e): In function `cfg_parse_global':
src/cfgparse.c:1044: warning: sprintf() is often misused, please use snprintf()

These ones were easy to get rid of, so better do it.
src/cfgparse.c