[master] d141e3a This only requires a single expression
Federico G. Schwindt
fgsch at lodoss.net
Sat May 20 12:28:05 CEST 2017
commit d141e3a8a3a7a3970ce9f34af5f27de7e4301432
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Sat May 20 11:17:05 2017 +0100
This only requires a single expression
diff --git a/lib/libvcc/vcc_expr.c b/lib/libvcc/vcc_expr.c
index 344b831..abd210e 100644
--- a/lib/libvcc/vcc_expr.c
+++ b/lib/libvcc/vcc_expr.c
@@ -433,7 +433,7 @@ vcc_Eval_Regsub(struct vcc *tl, struct expr **e, const struct symbol *sym,
vcc_NextToken(tl);
bprintf(buf, "VRT_regsub(ctx, %d,\v+\n\v1,\n%s", all, p);
- *e = vcc_expr_edit(STRING, buf, e2, *e);
+ *e = vcc_expr_edit(STRING, buf, e2, NULL);
SkipToken(tl, ',');
vcc_expr0(tl, &e2, STRING);
More information about the varnish-commit
mailing list