[master] a84f5b180 Unbotch my refactoring of || and && handling in VCL expressions.

Poul-Henning Kamp phk at FreeBSD.org
Mon Aug 6 16:01:10 UTC 2018


commit a84f5b180cf976e642e48a2ab45413b98638e547
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Aug 6 16:00:20 2018 +0000

    Unbotch my refactoring of || and && handling in VCL expressions.
    
    Fixes: #2729

diff --git a/lib/libvcc/vcc_expr.c b/lib/libvcc/vcc_expr.c
index dacb32260..39a01af38 100644
--- a/lib/libvcc/vcc_expr.c
+++ b/lib/libvcc/vcc_expr.c
@@ -1215,7 +1215,7 @@ vcc_expr_bin_bool(struct vcc *tl, struct expr **e, vcc_type_t fmt,
 	while (tl->t->tok == ourtok) {
 		vcc_NextToken(tl);
 		tk = tl->t;
-		vcc_expr_not(tl, &e2, fmt);
+		up(tl, &e2, fmt);
 		ERRCHK(tl);
 		vcc_expr_tobool(tl, &e2);
 		ERRCHK(tl);


More information about the varnish-commit mailing list