mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
77336671dc
Recent gcc warns when byte count of strncpy() equals the destination buffer size. Since the destination buffer is previously cleared and the source string is always shorter, reducing the byte count by one silents the warning without affecting the result. Closes #5059 |
||
---|---|---|
.. | ||
.gitignore | ||
base64.pl | ||
CMakeLists.txt | ||
disabled.c | ||
fake_ntlm.c | ||
getpart.c | ||
getpart.h | ||
Makefile.am | ||
Makefile.inc | ||
resolve.c | ||
rtspd.c | ||
server_setup.h | ||
server_sockaddr.h | ||
sockfilt.c | ||
socksd.c | ||
sws.c | ||
testpart.c | ||
tftp.h | ||
tftpd.c | ||
util.c | ||
util.h |