From: Tim Duesterhus Date: Sat, 8 Oct 2022 10:33:18 +0000 (+0200) Subject: CLEANUP: Reapply ist.cocci (2) X-Git-Tag: v2.7-dev8~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a029d781e2fc43815ef7d0456d1aa2f961951622;p=thirdparty%2Fhaproxy.git CLEANUP: Reapply ist.cocci (2) This reapplies ist.cocci across the whole src/ tree. --- 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