httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r111712 - /httpd/httpd/trunk/modules/proxy/proxy_balancer.c
Date Mon, 13 Dec 2004 13:47:30 GMT
Author: jim
Date: Mon Dec 13 05:47:29 2004
New Revision: 111712

URL: http://svn.apache.org/viewcvs?view=rev&rev=111712
Log:
We are an int.

Modified:
   httpd/httpd/trunk/modules/proxy/proxy_balancer.c

Modified: httpd/httpd/trunk/modules/proxy/proxy_balancer.c
Url: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/proxy/proxy_balancer.c?view=diff&rev=111712&p1=httpd/httpd/trunk/modules/proxy/proxy_balancer.c&r1=111711&p2=httpd/httpd/trunk/modules/proxy/proxy_balancer.c&r2=111712
==============================================================================
--- httpd/httpd/trunk/modules/proxy/proxy_balancer.c	(original)
+++ httpd/httpd/trunk/modules/proxy/proxy_balancer.c	Mon Dec 13 05:47:29 2004
@@ -62,7 +62,7 @@
         if (z) {
             median = (100 - ffactor) / z;
             for (i = 0; i < balancer->workers->nelts; i++) {
-                if (workers[i].s->lbfactor == 0.0) 
+                if (workers[i].s->lbfactor == 0) 
                     workers[i].s->lbfactor = median;
             }
         }

Mime
View raw message