You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by yl...@apache.org on 2016/08/11 11:47:56 UTC

svn commit: r1755954 - /apr/apr/trunk/locks/win32/proc_mutex.c

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;
     }