commit | 94ef3f3115bc2ce213063f69bfca11c2a4f18396 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Apr 14 14:49:00 2014 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Apr 14 15:52:48 2014 +0200 |
tree | cd243f550ec810cd6e0a2cfffd4e2081c630e400 | |
parent | 0e82b92a970a71e099cea1ea395113ecd4f9852f [diff] |
BUILD/MEDIUM: standard: get rid of the last strcpy() OpenBSD complains about our use of strcpy() in standard.c. The checks were OK and we didn't fall into the category of "almost always misused", but it's very simple to fix it so better do it before a problem happens. src/standard.o(.text+0x26ab): In function `str2sa_range': src/standard.c:718: warning: strcpy() is almost always misused, please use strlcpy()