Author: jfrederic.clere(a)jboss.com
Date: 2009-07-27 03:12:32 -0400 (Mon, 27 Jul 2009)
New Revision: 2508
Modified:
trunk/mod_cluster/native/mod_manager/mod_manager.c
Log:
Oops that was bad ;-(
Modified: trunk/mod_cluster/native/mod_manager/mod_manager.c
===================================================================
--- trunk/mod_cluster/native/mod_manager/mod_manager.c 2009-07-24 13:55:00 UTC (rev 2507)
+++ trunk/mod_cluster/native/mod_manager/mod_manager.c 2009-07-27 07:12:32 UTC (rev 2508)
@@ -580,7 +580,7 @@
static void remove_host_context(request_rec *r, int node)
{
/* for read the hosts */
- int i,j;
+ int i;
int size = get_max_size_host(hoststatsmem);
int *id = apr_palloc(r->pool, sizeof(int) * size);
int sizecontext = get_max_size_context(contextstatsmem);
@@ -593,8 +593,6 @@
size = get_ids_used_host(hoststatsmem, id);
for (i=0; i<size; i++) {
hostinfo_t *ou;
- int sizecontext;
- int *idcontext;
if (get_host(hoststatsmem, &ou, id[i]) != APR_SUCCESS)
continue;
Show replies by date