[prev in list] [next in list] [prev in thread] [next in thread] 

List:       varnish-commit
Subject:    r4390 - trunk/varnish-cache/lib/libvcl
From:       phk () projects ! linpro ! no (phk at projects ! linpro ! no)
Date:       2009-12-14 11:41:58
Message-ID: 20091214114158.0C3001F73DB () projects ! linpro ! no
[Download RAW message or body]

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");
 
 }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic