]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: chunk: remove misleading chunk_strncat() function
authorWilly Tarreau <w@1wt.eu>
Mon, 8 Nov 2021 10:44:47 +0000 (11:44 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 8 Nov 2021 11:08:26 +0000 (12:08 +0100)
commit49b0482ed4a24483de8627b246ae9068bbf405e8
tree722ec177288f6b93e717b3181997a01b14e66988
parent8f1d178cd1732689f08df7f97b8a6fecb13c748d
CLEANUP: chunk: remove misleading chunk_strncat() function

This function claims to perform an strncat()-like operation but it does
not, it always copies the indicated number of bytes, regardless of the
presence of a NUL character (what is currently done by chunk_memcat()).
Let's remove it and explicitly replace it with chunk_memcat().
include/haproxy/chunk.h
src/cache.c