From a029d781e2fc43815ef7d0456d1aa2f961951622 Mon Sep 17 00:00:00 2001 From: Tim Duesterhus Date: Sat, 8 Oct 2022 12:33:18 +0200 Subject: [PATCH] CLEANUP: Reapply ist.cocci (2) 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 19932a5b1..159536879 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