mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-03 02:32:03 +00:00
DEV: coccinelle: Add a new pattern to ist.cocci
This was previously ignored in "DEV: coccinelle: Fix incorrect replacement in ist.cocci", but is now properly replaced by a simple `ist()` call.
This commit is contained in:
parent
7750850594
commit
14abfb61fb
@ -4,8 +4,9 @@ expression p, l;
|
||||
@@
|
||||
|
||||
(
|
||||
i.ptr = p;
|
||||
i.len = strlen(i.ptr);
|
||||
- i.ptr = p;
|
||||
- i.len = strlen(i.ptr);
|
||||
+ i = ist(p);
|
||||
|
|
||||
- i.ptr = p;
|
||||
- i.len = l;
|
||||
|
Loading…
Reference in New Issue
Block a user