You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by NormW <no...@bocnet.com.au> on 2004/03/15 11:59:31 UTC

PATCH jk_worker_status.c scoreboard reset update

Greetings All.
Attached is a very small patch to jk_worker_status.c to bring the
resetScoreboard function in to line with recent changes in jk_shm.c
Thanks for the time and attention.
Norm
------------------------------------------
--- jk_worker_status.c.orig Sun Mar 14 08:25:45 2004
+++ jk_worker_status.c Mon Mar 15 21:52:32 2004
@@ -292,7 +292,7 @@
         return;
     }

-    for( i=1; i < wenv->shm->head->lastSlot; i++ ) {
+    for( i=0; i < wenv->shm->head->lastSlot; i++ ) {
         jk_shm_slot_t *slot= wenv->shm->getSlot( env, wenv->shm, i );

         if( slot==NULL ) continue;
------------------------------------------


RE: PATCH jk_worker_status.c scoreboard reset update

Posted by Mladen Turk <mt...@apache.org>.
 

> -----Original Message-----
> From: NormW 
> 
> Greetings All.
> Attached is a very small patch to jk_worker_status.c to bring 
> the resetScoreboard function in to line with recent changes 
> in jk_shm.c Thanks for the time and attention.
> Norm

Commited.
Thanks for spotting that (hope that's the last regarding shm loops.

> ------------------------------------------
> --- jk_worker_status.c.orig Sun Mar 14 08:25:45 2004
> +++ jk_worker_status.c Mon Mar 15 21:52:32 2004
> @@ -292,7 +292,7 @@
>          return;
>      }
> 
> -    for( i=1; i < wenv->shm->head->lastSlot; i++ ) {
> +    for( i=0; i < wenv->shm->head->lastSlot; i++ ) {
>          jk_shm_slot_t *slot= wenv->shm->getSlot( env, wenv->shm, i );
> 

MT.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org