[master] 6868b64 Fix whitespace in compiled vcl

Poul-Henning Kamp phk at FreeBSD.org
Wed Jun 25 22:29:20 CEST 2014


commit 6868b6430758ac9991d19a03a512aa5d9f710d2b
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Jun 25 10:02:36 2014 +0000

    Fix whitespace in compiled vcl

diff --git a/lib/libvcc/vcc_action.c b/lib/libvcc/vcc_action.c
index 080f50e..9b1d22d 100644
--- a/lib/libvcc/vcc_action.c
+++ b/lib/libvcc/vcc_action.c
@@ -291,10 +291,10 @@ parse_hash_data(struct vcc *tl)
 	vcc_NextToken(tl);
 	SkipToken(tl, '(');
 
-	Fb(tl, 1, "VRT_hashdata(ctx, ");
+	Fb(tl, 1, "VRT_hashdata(ctx,\n  ");
 	vcc_Expr(tl, STRING_LIST);
 	ERRCHK(tl);
-	Fb(tl, 0, ");\n");
+	Fb(tl, 1, ");\n");
 	SkipToken(tl, ')');
 }
 



More information about the varnish-commit mailing list