httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r774428 - /httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
Date Wed, 13 May 2009 16:56:16 GMT
Author: jim
Date: Wed May 13 16:56:12 2009
New Revision: 774428

URL: http://svn.apache.org/viewvc?rev=774428&view=rev
Log:
standard method

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=774428&r1=774427&r2=774428&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c Wed May 13 16:56:12 2009
@@ -942,7 +942,7 @@
         balancer = (proxy_balancer *)conf->balancers->elts;
         for (i = 0; i < conf->balancers->nelts; i++) {
             proxy_balancer_method *lbmethod = balancer->lbmethod;
-            if (balancer->lbmethod!=NULL && balancer->lbmethod->reset !=
NULL)
+            if (balancer->lbmethod && balancer->lbmethod->reset)
                balancer->lbmethod->reset(balancer, s);
             init_balancer_members(conf, s, balancer);
             balancer++;



Mime
View raw message