DEV: coccinelle: Add rule to use `chunk_istcat()` instead of `chunk_strncat()`
authorTim Duesterhus <tim@bastelstu.be>
Mon, 8 Nov 2021 08:05:03 +0000 (09:05 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 8 Nov 2021 11:08:26 +0000 (12:08 +0100)
commitb9656e48377a9e5359494bce6a413a9915c8f74b
treef7213eee0a1e9ada92fa8f07e9e2254a4930fd55
parent755d2419a45c19e12b72d1aa84b59242524178e9
DEV: coccinelle: Add rule to use `chunk_istcat()` instead of `chunk_strncat()`

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