Commit 3fc0c488 authored by Nils Goroll's avatar Nils Goroll

New WS_Reserve() interface

parent 9094d20f
......@@ -309,7 +309,7 @@ vmod_sub_add(VRT_CTX, struct vmod_dispatch_sub *sub, VCL_INT n,
n, subname);
return;
}
len = WS_Reserve(ctx->ws, 0);
len = WS_ReserveAll(ctx->ws);
if (len <= CFUNC_PREFIX_LEN) {
VERR(ctx, "%s.add(%ld, %s): insufficient workspace for "
"internal C function prefix", sub->vcl_name, n, subname);
......
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