]> err.no Git - varnish/commitdiff
Backend fini functions are methods of the class, call the generic one.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 4 Feb 2008 09:58:55 +0000 (09:58 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 4 Feb 2008 09:58:55 +0000 (09:58 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2425 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/lib/libvcl/vcc_backend.c

index 518d7eb55e74cac2b9c17e549bb389d4b5aa049a..c0253dd4608fbb7268774bbccc664cec5de67cc9 100644 (file)
@@ -432,7 +432,7 @@ vcc_ParseRandomDirector(struct tokenlist *tl, const struct token *t_first, struc
        vcc_NextToken(tl);
        Fi(tl, 0, "\tVRT_init_random_backend(&VGC_backend_%.*s , &vdr_%.*s);\n",
            PF(t_dir), PF(t_dir));
-       Ff(tl, 0, "\tVRT_fini_random_backend(VGC_backend_%.*s);\n", PF(t_dir));
+       Ff(tl, 0, "\tVRT_fini_backend(VGC_backend_%.*s);\n", PF(t_dir));
 }
 
 /*--------------------------------------------------------------------