]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DEV: coccinelle: Add rule to use `chunk_istcat()` instead of `chunk_memcat()`
authorTim Duesterhus <tim@bastelstu.be>
Mon, 8 Nov 2021 08:05:02 +0000 (09:05 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 8 Nov 2021 11:08:26 +0000 (12:08 +0100)
commit755d2419a45c19e12b72d1aa84b59242524178e9
tree77448c3e49b2f4b7dce156a61299ea49bc8131dc
parent2471f5c2b2e281fe45dbdbc94536b8cbad6853b1
DEV: coccinelle: Add rule to use `chunk_istcat()` instead of `chunk_memcat()`

This replaces `chunk_memcat()` with `chunk_istcat()` if the parameters are the
ist's `.ptr` and `.len`.
dev/coccinelle/ist.cocci