Skip to content

Commit

Permalink
Flexelint-polish
Browse files Browse the repository at this point in the history
  • Loading branch information
nigoroll committed Jan 2, 2024
1 parent 48ee17d commit 7aeca4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/varnishd/cache/cache_req_body.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ vrb_pull(struct req *req, ssize_t maxsize, objiterate_f *func, void *priv)
if (func != NULL) {
HSH_DerefBoc(req->wrk, req->body_oc);
AZ(HSH_DerefObjCore(req->wrk, &req->body_oc, 0));
if (vfps == VFP_END && (flush & OBJ_ITER_END) == 0)
func(priv, flush | OBJ_ITER_END, NULL, 0);
if (vfps == VFP_END && r == 0 && (flush & OBJ_ITER_END) == 0)
r = func(priv, flush | OBJ_ITER_END, NULL, 0);
if (vfps != VFP_END) {
req->req_body_status = BS_ERROR;
if (r == 0)
Expand Down

0 comments on commit 7aeca4d

Please sign in to comment.