projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f38bdb
)
Revert "DEV: coccinelle: Add rule to use `chunk_istcat()` instead of `chunk_strncat()`"
author
Willy Tarreau
<w@1wt.eu>
Mon, 8 Nov 2021 12:42:03 +0000
(13:42 +0100)
committer
Willy 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
patch
|
blob
|
history
diff --git
a/dev/coccinelle/ist.cocci
b/dev/coccinelle/ist.cocci
index
680afba
..
4945141
100644
(file)
--- 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