Commit 7edfb217 authored by Geoff Simmons's avatar Geoff Simmons

Explicitly return NULL when it's a pointer (even though 0 works).

parent 1ccec57c
......@@ -771,7 +771,7 @@ vmod_set_subroutine(VRT_CTX, struct VPFX(re2_set) *set, VCL_INT n,
idx = get_match_idx(ctx, set, n, selects, "subroutine");
if (idx < 0)
return (0);
return (NULL);
if (!vbit_test(set->added[SUBROUTINE], 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