CLEANUP: Reapply ist.cocci with `--include-headers-for-types --recursive-includes`
Previous uses of `ist.cocci` did not add `--include-headers-for-types` and
`--recursive-includes` preventing Coccinelle seeing `struct ist` members of
other structs.
Reapply the patch with proper flags to further clean up the use of the ist API.
The command used was:
spatch -sp_file dev/coccinelle/ist.cocci -in_place --include-headers --include-headers-for-types --recursive-includes --dir src/
diff --git a/src/cache.c b/src/cache.c
index 60f9a0e..0f90af9 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -626,7 +626,7 @@
info = (type << 28) + v.len;
chunk_memcat(&trash, (char *)&info, sizeof(info));
- chunk_memcat(&trash, v.ptr, v.len);
+ chunk_istcat(&trash, v);
to_forward += v.len;
len -= v.len;
break;