diff --git a/dev/coccinelle/ist.cocci b/dev/coccinelle/ist.cocci index ea13d39d2..acde626b0 100644 --- a/dev/coccinelle/ist.cocci +++ b/dev/coccinelle/ist.cocci @@ -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;