]> err.no Git - varnish/commitdiff
Count directors as backends.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 20 Feb 2008 10:59:25 +0000 (10:59 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 20 Feb 2008 10:59:25 +0000 (10:59 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2519 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/lib/libvcl/vcc_backend.c

index ddff2bf783fba961bf406403e0c6fcf35200ea38..b91f5709cf8a64e6fb4f1d6f8e804e5f8f9e2955 100644 (file)
@@ -490,4 +490,5 @@ vcc_ParseDirector(struct tokenlist *tl)
                vcc_ErrWhere(tl, t_first);
                return;
        }
+       tl->nbackend++;
 }