Commit 62ea5cea authored by Geoff Simmons's avatar Geoff Simmons

Adjust to changed WS_* interface.

parent 01327a74
...@@ -476,7 +476,7 @@ vmod_set_hasprefix(VRT_CTX, struct vmod_selector_set *set, VCL_STRING subject) ...@@ -476,7 +476,7 @@ vmod_set_hasprefix(VRT_CTX, struct vmod_selector_set *set, VCL_STRING subject)
WS_Release(ctx->ws, 0); WS_Release(ctx->ws, 0);
return (0); return (0);
} }
match->indices = (unsigned *)WS_Front(ctx->ws); match->indices = (unsigned *)WS_Reservation(ctx->ws);
if (PT_Prefixes(set->origo, members, subj, match) != 0) { if (PT_Prefixes(set->origo, members, subj, match) != 0) {
VERRNOMEM(ctx, "Adding indices in %s.hasprefix(\"%.40s\")", VERRNOMEM(ctx, "Adding indices in %s.hasprefix(\"%.40s\")",
......
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