Commit c3ebd58c authored by Nils Goroll's avatar Nils Goroll

fix return value of vtc.workspace_reserve

parent 35f574fb
......@@ -193,7 +193,7 @@ vmod_workspace_reserve(VRT_CTX, VCL_ENUM which, VCL_INT size)
if (r == 0)
return (0);
WS_Release(ws, 0);
return (1);
return (r);
}
VCL_INT v_matchproto_(td_vtc_workspace_free)
......
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