From: phk Date: Wed, 2 Aug 2006 12:05:19 +0000 (+0000) Subject: Typo: Also monitor remote sockets with the poll based acceptor. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ace2d583a723d8adfd463bef4e49368af6a3f4fa;p=varnish Typo: Also monitor remote sockets with the poll based acceptor. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@603 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_acceptor.c b/varnish-cache/bin/varnishd/cache_acceptor.c index e2fb508e..272a1cff 100644 --- a/varnish-cache/bin/varnishd/cache_acceptor.c +++ b/varnish-cache/bin/varnishd/cache_acceptor.c @@ -180,7 +180,7 @@ vca_main(void *arg) if (heritage.sock_local[u] >= 0) vca_poll(heritage.sock_local[u]); if (heritage.sock_remote[u] >= 0) - vca_poll(heritage.sock_local[u]); + vca_poll(heritage.sock_remote[u]); } while (1) { @@ -203,7 +203,7 @@ vca_main(void *arg) } if (heritage.sock_remote[u] >= 0 && pollfd[heritage.sock_remote[u]].revents) { - accept_f(heritage.sock_local[u]); + accept_f(heritage.sock_remote[u]); v--; } }