]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: server: Use memcpy() instead of strncpy().
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 16 Oct 2018 16:35:01 +0000 (18:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 16 Oct 2018 17:22:20 +0000 (19:22 +0200)
commit17f8b90736d811ac9a04af198a3aee34e9935cec
tree7905a10ca8424bb474bb87fc92253bb3db073025
parent0d7a2ae4f5199ec37ead6914fa24d40ec0989a4d
MINOR: server: Use memcpy() instead of strncpy().

Use memcpy instead of strncpy, strncpy buys us nothing, and gcc is being
annoying.
src/server.c