Fix error return

parent a821dc89
......@@ -271,7 +271,7 @@ vdp_zipflow_bytes(struct vdp_ctx *vdc, enum vdp_action act, void **priv,
r = zip_data(zft->zip, ptr, len, act == VDP_END);
if (r) {
VSLb(vdc->vsl, SLT_Error, "zip_data returned %d", r);
return (1);
return (-1);
}
if (act != VDP_END)
......
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