]> err.no Git - varnish/commit
VBE_AddBackend() needs to always return the backend, so make it a pointer arg
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 6 Feb 2008 09:47:24 +0000 (09:47 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 6 Feb 2008 09:47:24 +0000 (09:47 +0000)
commitfd2388e6dc17bc08895245e1f497ecacfaf6222f
tree2b3b32b4360b9d75b4012c4ab1b96c84861f6e9d
parent52d1bade5bdea912305cc2a1ffccac2964fd4154
VBE_AddBackend() needs to always return the backend, so make it a pointer arg
and use the return int to tell if it was a reuse.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2436 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache.h
varnish-cache/bin/varnishd/cache_backend.c
varnish-cache/bin/varnishd/cache_backend_random.c
varnish-cache/bin/varnishd/cache_backend_simple.c