]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
minor clean
authorJim Jagielski <jim@apache.org>
Wed, 13 May 2009 16:56:50 +0000 (16:56 +0000)
committerJim Jagielski <jim@apache.org>
Wed, 13 May 2009 16:56:50 +0000 (16:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/httpd-2.2-proxy@774429 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_balancer.c

index 8a7f66fb0412409b57d4cad74db21c1c054db467..64187f8bb5281fc749aefe4243860b8663e57734 100644 (file)
@@ -944,7 +944,7 @@ static void child_init(apr_pool_t *p, server_rec *s)
         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++;