From: Willy Tarreau Date: Mon, 8 Nov 2021 12:42:03 +0000 (+0100) Subject: Revert "DEV: coccinelle: Add rule to use `chunk_istcat()` instead of `chunk_strncat()`" X-Git-Tag: v2.5-dev14~28 X-Git-Url: http://git.haproxy.org/?a=commitdiff_plain;h=64755bf8560c43cc55781539e3c6cd9061ea22ab;p=haproxy-2.5.git Revert "DEV: coccinelle: Add rule to use `chunk_istcat()` instead of `chunk_strncat()`" This reverts commit b9656e48377a9e5359494bce6a413a9915c8f74b. It's not needed anymore since 49b0482ed ("CLEANUP: chunk: remove misleading chunk_strncat() function"). --- diff --git a/dev/coccinelle/ist.cocci b/dev/coccinelle/ist.cocci index 680afba..4945141 100644 --- a/dev/coccinelle/ist.cocci +++ b/dev/coccinelle/ist.cocci @@ -62,14 +62,6 @@ struct buffer *b; @@ struct ist i; -struct buffer *b; -@@ - -- chunk_strncat(b, \(i.ptr\|istptr(i)\) , \(i.len\|istlen(i)\)); -+ chunk_istcat(b, i); - -@@ -struct ist i; @@ - i.ptr != NULL