BUG/MEDIUM: listeners: Use the right parameters for strlcpy2().
authorOlivier Houchard <cognet@ci0.org>
Sat, 8 Apr 2023 12:58:53 +0000 (14:58 +0200)
committerOlivier Houchard <cognet@ci0.org>
Sat, 8 Apr 2023 13:01:57 +0000 (15:01 +0200)
commit0963b8a07f13094dd7ae8e05ad3b0aca1b6a6bc1
treeeff081788746a2e3af1eaef8b63b0ab39a485bad
parent7f2b3f9431f279d71a59dc73b77139d2ce16e503
BUG/MEDIUM: listeners: Use the right parameters for strlcpy2().

When calls to strcpy() were replaced with calls to strlcpy2(), one of them
was replaced wrong, and the source and size were inverted. Correct that.

This should fix issue #2110.
src/proto_tcp.c