Implement set_level

parent 70a8ad48
......@@ -639,9 +639,12 @@ vdp_zipsub_init(VRT_CTX, struct vdp_ctx *vdc, void **priv, struct objcore *oc)
fill_meta(ctx, zfr);
r = zip_meta(zft->zip, zfr->name, 3, zfr->mode,
(uint32_t)zfr->atime, (uint32_t)zfr->mtime);
if (r == 0)
r = zip_level(zft->zip, zfr->level);
}
if (r != 0) {
VSLb(vdc->vsl, SLT_Error, "zipflow: zip_meta returned %d", r);
VSLb(vdc->vsl, SLT_Error, "zipflow: zip_meta / zip_level "
"returned %d", r);
return (-1);
}
......
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