Commit de2356b0 authored by Geoff Simmons's avatar Geoff Simmons

fix compile failure error message from the sub() function

parent 1fd0f08b
...@@ -732,8 +732,8 @@ vmod_sub(VRT_CTX, VCL_STRING pattern, VCL_STRING text, VCL_STRING rewrite, ...@@ -732,8 +732,8 @@ vmod_sub(VRT_CTX, VCL_STRING pattern, VCL_STRING text, VCL_STRING rewrite,
case_sensitive, perl_classes, word_boundary, case_sensitive, perl_classes, word_boundary,
one_line)) one_line))
!= NULL) { != NULL) {
VERR(ctx, "Cannot compile '%s': %s", pattern, text, rewrite, VERR(ctx, ERR_PREFIX "Cannot compile '%s': %s", pattern, text,
fallback, pattern, err); rewrite, fallback, pattern, err);
vre2_fini(&vre2); vre2_fini(&vre2);
return fallback; return fallback;
} }
......
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