From: Jim Jagielski Date: Mon, 13 Dec 2004 13:40:25 +0000 (+0000) Subject: Seems to me that if we have a worker which is usable, we X-Git-Tag: 2.1.3~265 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ce0fb01c5ba766ac5f28e8779048240b43e978f;p=apache Seems to me that if we have a worker which is usable, we should return that. Otherwise we have no worker (worker is NULL) and we should return that or else the if clause takes care of setting worker correctly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@111711 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/proxy_balancer.c b/modules/proxy/proxy_balancer.c index 1c307c753f..8984e02b9c 100644 --- a/modules/proxy/proxy_balancer.c +++ b/modules/proxy/proxy_balancer.c @@ -194,8 +194,6 @@ static proxy_worker *find_session_route(proxy_balancer *balancer, if (worker && !PROXY_WORKER_IS_USABLE(worker)) worker = NULL; } - else - worker = NULL; return worker; } else