[4.0] b1001cd Fix whitespace in compiled vcl

Lasse Karstensen lkarsten at varnish-software.com
Mon Sep 22 16:38:21 CEST 2014


commit b1001cd3a8663dc3e83b3a871583f4001f8bc5b4
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