]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
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 680afbadee1a94f74c24c94720e859be0c57624d..4945141b25b617dffb5ce7b3c6a69d922ac9de0f 100644 (file)
@@ -60,14 +60,6 @@ struct buffer *b;
 - chunk_memcat(b, \(i.ptr\|istptr(i)\) , \(i.len\|istlen(i)\));
 + chunk_istcat(b, i);
 
-@@
-struct ist i;
-struct buffer *b;
-@@
-
-- chunk_strncat(b, \(i.ptr\|istptr(i)\) , \(i.len\|istlen(i)\));
-+ chunk_istcat(b, i);
-
 @@
 struct ist i;
 @@