Flexelint polish

Ref 2d494dc7
    bb3d027b
parent 0bea9b1b
......@@ -64,7 +64,7 @@ VDP_Panic(struct vsb *vsb, const struct vdp_ctx *vdc)
* to avoid leaks in VDPs
*/
void
VDP_Fini(struct vdp_ctx *vdc)
VDP_Fini(const struct vdp_ctx *vdc)
{
assert(VTAILQ_EMPTY(&vdc->vdp));
}
......
......@@ -943,5 +943,5 @@ ved_deliver(struct req *req, struct boc *boc, int wantbody)
if (i && req->doclose == SC_NULL)
req->doclose = SC_REM_CLOSE;
ved_close(req, boc, i && !ecx->incl_cont);
ved_close(req, boc, i && !ecx->incl_cont ? 1 : 0);
}
......@@ -189,7 +189,7 @@ void VDI_Event(const struct director *d, enum vcl_event_e ev);
void VDI_Init(void);
/* cache_deliver_proc.c */
void VDP_Fini(struct vdp_ctx *vdc);
void VDP_Fini(const struct vdp_ctx *vdc);
void VDP_Init(struct vdp_ctx *vdc, struct worker *wrk, struct vsl_log *vsl,
struct req *req);
uint64_t VDP_Close(struct vdp_ctx *, struct objcore *, struct boc *);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment