tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native/common jk_shm.c
Date Sun, 13 Feb 2005 12:43:55 GMT
mturk       2005/02/13 04:43:55

  Modified:    jk/native/common jk_shm.c
  Log:
  Fix some compiler warnings
  
  Revision  Changes    Path
  1.11      +4 -3      jakarta-tomcat-connectors/jk/native/common/jk_shm.c
  
  Index: jk_shm.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_shm.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- jk_shm.c	13 Feb 2005 12:08:05 -0000	1.10
  +++ jk_shm.c	13 Feb 2005 12:43:55 -0000	1.11
  @@ -56,7 +56,7 @@
   typedef struct jk_shm jk_shm_t;
   
   static const char shm_signature[] = { JK_SHM_MAGIC };
  -static jk_shm_t jk_shmem = { 0, NULL, -1, -1, 0, NULL, 0};
  +static jk_shm_t jk_shmem = { 0, NULL, -1, -1, 0, NULL};
   static time_t jk_workers_modified_time = 0;
   
   #if defined (WIN32) || defined(NETWARE)
  @@ -315,8 +315,9 @@
           }
           jk_shmem.fd_lock = -1;
       }
  -    if (jk_shmem.size)
  +    if (jk_shmem.size) {
           JK_DELETE_CS(&(jk_shmem.cs), rc);
  +    }
       jk_shmem.size = 0;
       jk_shmem.hdr  = NULL;
       jk_shmem.fd   = -1;
  
  
  

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


Mime
View raw message