Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 42794 invoked from network); 13 Feb 2005 12:44:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Feb 2005 12:44:02 -0000 Received: (qmail 91474 invoked by uid 500); 13 Feb 2005 12:43:57 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 91424 invoked by uid 500); 13 Feb 2005 12:43:57 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 91411 invoked by uid 500); 13 Feb 2005 12:43:57 -0000 Received: (qmail 91407 invoked by uid 99); 13 Feb 2005 12:43:57 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Sun, 13 Feb 2005 04:43:57 -0800 Received: (qmail 42739 invoked by uid 1526); 13 Feb 2005 12:43:55 -0000 Date: 13 Feb 2005 12:43:55 -0000 Message-ID: <20050213124355.42738.qmail@minotaur.apache.org> From: mturk@apache.org To: jakarta-tomcat-connectors-cvs@apache.org Subject: cvs commit: jakarta-tomcat-connectors/jk/native/common jk_shm.c X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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