Assert that the first request is - that

parent 1abb6ed0
......@@ -321,6 +321,9 @@ vdp_zipflow_init(VRT_CTX, struct vdp_ctx *vdc, void **priv, struct objcore *oc)
zft = zfr->top;
CHECK_OBJ_NOTNULL(zft, ZIPFLOW_TOP_MAGIC);
assert(zfr == VSTAILQ_FIRST(&zft->head));
VSTAILQ_REMOVE_HEAD(&zft->head, list);
AZ(zft->zip);
zft->zip = zip_pipe(vdc, vdp_zipflow_put, zfr->level);
if (zft->zip == NULL) {
......
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