]> git.kaiwu.me - haproxy.git/commit
CLEANUP: net_helper: fix incorrect const pointers in writev_n16()
authorWilly Tarreau <w@1wt.eu>
Thu, 30 Apr 2026 06:21:33 +0000 (08:21 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 30 Apr 2026 06:21:33 +0000 (08:21 +0200)
commit64e5489864c6bdc227ca97b53faed0ace496891d
tree9239c7d580a31c05ac61f1ca9c63348739e013d7
parent76d894956f7c83bd503afc65a8c8240a6c527f40
CLEANUP: net_helper: fix incorrect const pointers in writev_n16()

It's interesting to see that output pointers p1 and p2 were declared
as const, and that thisremained unnoticed due to the explicit casts
to u8 when writing to them. The function is currently not used, but
better clean it up to avoid surprises.
include/haproxy/net_helper.h