Commit b08777fd authored by Geoff Simmons's avatar Geoff Simmons

Fix error message output for set.sub().

parent 6d1e464b
......@@ -506,7 +506,7 @@ vmod_set_sub(VRT_CTX, struct vmod_re2_set *set, VCL_STRING text,
return NULL;
}
idx = get_match_idx(ctx, set, n, selects, "string");
idx = get_match_idx(ctx, set, n, selects, "sub");
if (idx < 0)
return NULL;
if (!vbit_test(set->added[RE_ADDED], idx)) {
......
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