This reapplies ist.cocci across the whole src/ tree.
---
 src/hlua.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/hlua.c b/src/hlua.c
index 19932a5b12..1595368796 100644
--- a/src/hlua.c
+++ b/src/hlua.c
@@ -6511,8 +6511,7 @@ static void _hlua_http_msg_delete(struct http_msg *msg, 
struct filter *filter, s
                        goto end;
 
                v = htx_get_blk_value(htx, blk);
-               v.ptr += htxret.ret;
-               v.len -= htxret.ret;
+               v = istadv(v, htxret.ret);
 
                v = isttrim(v, len);
                /* trimming data in blk: discard everything after the offset
-- 
2.38.0


Reply via email to