apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yla...@apache.org
Subject svn commit: r1755954 - /apr/apr/trunk/locks/win32/proc_mutex.c
Date Thu, 11 Aug 2016 11:47:56 GMT
Author: ylavic
Date: Thu Aug 11 11:47:55 2016
New Revision: 1755954

URL: http://svn.apache.org/viewvc?rev=1755954&view=rev
Log:
apr_os_proc_mutex_get_ex: win32: fix typo (s/mutex/pmutex/) leading to:
locks\win32\proc_mutex.c(252): error C2065: 'mutex' : undeclared identifier

Submitted by: Ivan Zhakov <ivan visualsvn.com> 

Modified:
    apr/apr/trunk/locks/win32/proc_mutex.c

Modified: apr/apr/trunk/locks/win32/proc_mutex.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/locks/win32/proc_mutex.c?rev=1755954&r1=1755953&r2=1755954&view=diff
==============================================================================
--- apr/apr/trunk/locks/win32/proc_mutex.c (original)
+++ apr/apr/trunk/locks/win32/proc_mutex.c Thu Aug 11 11:47:55 2016
@@ -249,7 +249,7 @@ APR_DECLARE(apr_status_t) apr_os_proc_mu
                                                    apr_proc_mutex_t *pmutex,
                                                    apr_lockmech_e *mech)
 {
-    *ospmutex = mutex->handle;
+    *ospmutex = pmutex->handle;
     if (mech) {
         *mech = APR_LOCK_DEFAULT_TIMED;
     }



Mime
View raw message