Author: jfrederic.clere(a)jboss.com
Date: 2009-05-25 11:59:48 -0400 (Mon, 25 May 2009)
New Revision: 2447
Modified:
trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c
Log:
Oops that won't compile on windoze for example.
Modified: trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c
===================================================================
--- trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c 2009-05-25 15:06:11 UTC
(rev 2446)
+++ trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c 2009-05-25 15:59:48 UTC
(rev 2447)
@@ -376,13 +376,13 @@
{
proxy_worker *worker = NULL;
if (!balancer) {
+ int sizebal, i;
+ int *bal;
if (creat_bal == CREAT_NONE)
return; /* Don't create balancers */
if (creat_bal == CREAT_ROOT && server != main_server)
return; /* Don't create balancers if not root */
/* Create one */
- int sizebal, i;
- int *bal;
ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, 0, server,
"add_workers_node: Create balancer %s", name);
balancer = apr_array_push(conf->balancers);
Show replies by date