You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2006/08/01 01:46:55 UTC
svn commit: r427368 - /httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
Author: jim
Date: Mon Jul 31 16:46:55 2006
New Revision: 427368
URL: http://svn.apache.org/viewvc?rev=427368&view=rev
Log:
Good catch by Ruediger
Modified:
httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c?rev=427368&r1=427367&r2=427368&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c Mon Jul 31 16:46:55 2006
@@ -919,7 +919,7 @@
checked_standby = checking_standby++;
}
cur_lbset++;
- } while (cur_lbset < max_lbset && !mycandidate);
+ } while (cur_lbset <= max_lbset && !mycandidate);
if (mycandidate) {
mycandidate->s->lbstatus -= total_factor;
@@ -999,7 +999,7 @@
checked_standby = checking_standby++;
}
cur_lbset++;
- } while (cur_lbset < max_lbset && !mycandidate);
+ } while (cur_lbset <= max_lbset && !mycandidate);
if (mycandidate) {
mycandidate->s->elected++;