Assert on VDP_Push return value

parent 373fce1b
...@@ -674,7 +674,7 @@ vdp_pesi_init(struct vdp_ctx *vdc, void **priv, struct objcore *oc) ...@@ -674,7 +674,7 @@ vdp_pesi_init(struct vdp_ctx *vdc, void **priv, struct objcore *oc)
#ifdef DEBUG_PESI_WS #ifdef DEBUG_PESI_WS
pesi->ws_snap = WS_Snapshot(req->ws); pesi->ws_snap = WS_Snapshot(req->ws);
#endif #endif
VDP_Push(req->vdc, req->ws, &VDP_pesi_buf, pesi); AZ(VDP_Push(req->vdc, req->ws, &VDP_pesi_buf, pesi));
return (0); return (0);
} }
...@@ -730,7 +730,7 @@ vdp_pesi_init(struct vdp_ctx *vdc, void **priv, struct objcore *oc) ...@@ -730,7 +730,7 @@ vdp_pesi_init(struct vdp_ctx *vdc, void **priv, struct objcore *oc)
AZ(pecx->state); AZ(pecx->state);
AZ(pesi->woken); AZ(pesi->woken);
VDP_Push(req->vdc, req->ws, &VDP_pesi_buf, pesi); AZ(VDP_Push(req->vdc, req->ws, &VDP_pesi_buf, pesi));
#ifdef DEBUG_PESI_WS #ifdef DEBUG_PESI_WS
pesi->ws_snap = WS_Snapshot(req->ws); pesi->ws_snap = WS_Snapshot(req->ws);
#endif #endif
...@@ -1346,7 +1346,7 @@ vped_deliver(struct req *req, struct boc *boc, int wantbody) ...@@ -1346,7 +1346,7 @@ vped_deliver(struct req *req, struct boc *boc, int wantbody)
else if (obj_final && (pesi->flags & PF_CFG_BLOCK_FINAL) == 0) { else if (obj_final && (pesi->flags & PF_CFG_BLOCK_FINAL) == 0) {
VSLdbg(req, "vped_deliver: T_NEXUS buffering no ESI"); VSLdbg(req, "vped_deliver: T_NEXUS buffering no ESI");
VDP_Push(req->vdc, req->ws, &VDP_pesi_buf, pesi); AZ(VDP_Push(req->vdc, req->ws, &VDP_pesi_buf, pesi));
AN(parent); AN(parent);
assert(parent->type == T_NEXUS); assert(parent->type == T_NEXUS);
push_vdps(req, vgzgz, gz); push_vdps(req, vgzgz, gz);
......
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