From 2ce0fb01c5ba766ac5f28e8779048240b43e978f Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Mon, 13 Dec 2004 13:40:25 +0000 Subject: [PATCH] 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 --- modules/proxy/proxy_balancer.c | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.40.0