r4390 - trunk/varnish-cache/lib/libvcl

phk at projects.linpro.no phk at projects.linpro.no
Mon Dec 14 12:41:58 CET 2009


Author: phk
Date: 2009-12-14 12:41:57 +0100 (Mon, 14 Dec 2009)
New Revision: 4390

Modified:
   trunk/varnish-cache/lib/libvcl/vcc_backend.c
Log:
Cosmetic: Move the vrt_dir_simple{} up together with the rest of the relevant
stuff for simple directors.



Modified: trunk/varnish-cache/lib/libvcl/vcc_backend.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_backend.c	2009-12-14 11:03:23 UTC (rev 4389)
+++ trunk/varnish-cache/lib/libvcl/vcc_backend.c	2009-12-14 11:41:57 UTC (rev 4390)
@@ -751,11 +751,11 @@
 	    PF(h->name), PF(h->name));
 	Ff(tl, 0, "\tVRT_fini_dir(cli, VGC_backend_%.*s);\n", PF(h->name));
 
-	Fc(tl, 0, "\nstatic const struct vrt_dir_simple sbe_%.*s = {\n",
+	Fh(tl, 0, "\nstatic const struct vrt_dir_simple sbe_%.*s = {\n",
 	    PF(h->name));
-	Fc(tl, 0, "\t.name = \"%.*s\",\n", PF(h->name));
-	Fc(tl, 0, "\t.host = &bh_%d,\n", h->hnum);
-	Fc(tl, 0, "};\n");
+	Fh(tl, 0, "\t.name = \"%.*s\",\n", PF(h->name));
+	Fh(tl, 0, "\t.host = &bh_%d,\n", h->hnum);
+	Fh(tl, 0, "};\n");
 
 }
 



More information about the varnish-commit mailing list