mturk       2004/03/12 11:19:58

  Modified:    jk/native2/common jk_worker_status.c
  Log:
  Change the loop for shmem.
  The shmem indexes starts with 0 now.
  
  Revision  Changes    Path
  1.54      +1 -1      jakarta-tomcat-connectors/jk/native2/common/jk_worker_status.c
  
  Index: jk_worker_status.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_worker_status.c,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- jk_worker_status.c        1 Mar 2004 09:38:20 -0000       1.53
  +++ jk_worker_status.c        12 Mar 2004 19:19:58 -0000      1.54
  @@ -186,7 +186,7 @@
                   
       s->jkprintf(env, s, "<table border>\n");
   
  -    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;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to