Revert "DEV: coccinelle: Add rule to use `chunk_istcat()` instead of `chunk_strncat()`"
authorWilly Tarreau <w@1wt.eu>
Mon, 8 Nov 2021 12:42:03 +0000 (13:42 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 8 Nov 2021 12:42:03 +0000 (13:42 +0100)
This reverts commit b9656e48377a9e5359494bce6a413a9915c8f74b. It's
not needed anymore since 49b0482ed ("CLEANUP: chunk: remove misleading
chunk_strncat() function").

dev/coccinelle/ist.cocci

index 680afba..4945141 100644 (file)
@@ -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