tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r1202748 - /tomcat/jk/trunk/native/common/jk_shm.c
Date Wed, 16 Nov 2011 15:47:10 GMT
Author: mturk
Date: Wed Nov 16 15:47:09 2011
New Revision: 1202748

URL: http://svn.apache.org/viewvc?rev=1202748&view=rev
Log:
Clean few extra unlonck macros with now extra retval

Modified:
    tomcat/jk/trunk/native/common/jk_shm.c

Modified: tomcat/jk/trunk/native/common/jk_shm.c
URL: http://svn.apache.org/viewvc/tomcat/jk/trunk/native/common/jk_shm.c?rev=1202748&r1=1202747&r2=1202748&view=diff
==============================================================================
--- tomcat/jk/trunk/native/common/jk_shm.c (original)
+++ tomcat/jk/trunk/native/common/jk_shm.c Wed Nov 16 15:47:09 2011
@@ -206,7 +206,7 @@ int jk_shm_open(const char *fname, size_
             CloseHandle(jk_shm_hlock);
             jk_shm_hlock = NULL;
             jk_shm_map   = NULL;
-            JK_LEAVE_CS(&jk_shmem.cs, rc);
+            JK_LEAVE_CS(&jk_shmem.cs);
             JK_TRACE_EXIT(l);
             return -1;
         }
@@ -230,7 +230,7 @@ int jk_shm_open(const char *fname, size_
             jk_shm_hlock = NULL;
         }
 #endif
-        JK_LEAVE_CS(&jk_shmem.cs, rc);
+        JK_LEAVE_CS(&jk_shmem.cs);
         JK_TRACE_EXIT(l);
         return -1;
     }
@@ -271,7 +271,7 @@ int jk_shm_open(const char *fname, size_
         /* Unlock shared memory */
         ReleaseMutex(jk_shm_hlock);
     }
-    JK_LEAVE_CS(&jk_shmem.cs, rc);
+    JK_LEAVE_CS(&jk_shmem.cs);
     if (JK_IS_DEBUG_LEVEL(l))
         jk_log(l, JK_LOG_DEBUG,
                "%s shared memory %s size=%u free=%u addr=%#lx",



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


Mime
View raw message