Commit 7b9f6934 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Cosmetic: Move the vrt_dir_simple{} up together with the rest of the relevant

stuff for simple directors.



git-svn-id: http://www.varnish-cache.org/svn/trunk@4390 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent eafcc6fb
...@@ -751,11 +751,11 @@ vcc_ParseSimpleDirector(struct tokenlist *tl, const struct token *t_first, ...@@ -751,11 +751,11 @@ vcc_ParseSimpleDirector(struct tokenlist *tl, const struct token *t_first,
PF(h->name), PF(h->name)); PF(h->name), PF(h->name));
Ff(tl, 0, "\tVRT_fini_dir(cli, VGC_backend_%.*s);\n", 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)); PF(h->name));
Fc(tl, 0, "\t.name = \"%.*s\",\n", PF(h->name)); Fh(tl, 0, "\t.name = \"%.*s\",\n", PF(h->name));
Fc(tl, 0, "\t.host = &bh_%d,\n", h->hnum); Fh(tl, 0, "\t.host = &bh_%d,\n", h->hnum);
Fc(tl, 0, "};\n"); Fh(tl, 0, "};\n");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment