]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: log: use strnlen2() in _lf_text_len() to compute string length
authorAurelien DARRAGON <adarragon@haproxy.com>
Fri, 25 Oct 2024 15:06:30 +0000 (17:06 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Mon, 28 Oct 2024 13:59:42 +0000 (14:59 +0100)
commit6d5b32daad863f6a1bfab134d0775b8ffcf87e86
treeabec63ba634c92596216140e0ba410171321031e
parent24131dee30bd7eedb4d99bd13bbb9792f7361937
CLEANUP: log: use strnlen2() in _lf_text_len() to compute string length

Thanks to previous commit, we can now use strnlen2() function to perform
strnlen() portable equivalent instead of re-implementing the logic under
_lf_text_len() function.
src/log.c