Unverified Commit 1e284a17 authored by Nils Goroll's avatar Nils Goroll

Adjust to workspace interface changes

Ref varnish-cache fd72157cd52e974d42dff2260cb608a79f1b9403
parent 5af25b48
......@@ -492,7 +492,7 @@ pesi_buf_init(struct vdp_ctx *vdc, void **priv, struct objcore *oc)
CAST_OBJ_NOTNULL(pesi, *priv, PESI_MAGIC);
(void) oc;
WS_Assert_Allocated(req->ws, pesi, sizeof *pesi);
assert(WS_Allocated(req->ws, pesi, sizeof *pesi));
node_fill_nodestock(req->ws, &pesi->nodestock);
return (0);
......@@ -676,7 +676,7 @@ vdp_pesi_init(struct vdp_ctx *vdc, void **priv, struct objcore *oc)
CAST_OBJ_NOTNULL(pesi, req->transport_priv, PESI_MAGIC);
*priv = pesi;
WS_Assert_Allocated(req->ws, pesi, sizeof *pesi);
assert(WS_Allocated(req->ws, pesi, sizeof *pesi));
node_fill_nodestock(req->ws, &pesi->nodestock);
get_task_cfg(req, &pesi->flags);
#ifdef DEBUG_PESI_WS
......
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