]> err.no Git - varnish/commitdiff
Don't create an unnecessary fencepost member.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 7 Jul 2008 22:19:05 +0000 (22:19 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 7 Jul 2008 22:19:05 +0000 (22:19 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2897 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/lib/libvcl/vcc_dir_random.c

index 63caf513bef3f18df115c3f975dced1c0de4853f..effe9a413dc7bc291e9e33c3af68f6515784211f 100644 (file)
@@ -119,7 +119,6 @@ vcc_ParseRandomDirector(struct tokenlist *tl, struct token *t_dir)
                Fc(tl, 0, " },\n");
                vcc_NextToken(tl);
        }
-       Fc(tl, 0, "\t{ .host = 0 }\n");
        Fc(tl, 0, "};\n");
        Fc(tl, 0,
            "\nstatic const struct vrt_dir_random vdr_%.*s = {\n",