From 64755bf8560c43cc55781539e3c6cd9061ea22ab Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 8 Nov 2021 13:42:03 +0100 Subject: [PATCH] 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"). --- dev/coccinelle/ist.cocci | 8 -------- 1 file changed, 8 deletions(-) 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 -- 1.7.10.4