summaryrefslogtreecommitdiff
path: root/locks
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2016-08-11 11:47:55 +0000
committerYann Ylavic <ylavic@apache.org>2016-08-11 11:47:55 +0000
commitf029ca9595ace18cb3e5bd3cb3b0794e39c1ea38 (patch)
treee5c6e87be0981dd9fb20cabdbf39ecd021546691 /locks
parent9443bc3d87ff5f913e9e52286505cd5d6cee1404 (diff)
downloadapr-f029ca9595ace18cb3e5bd3cb3b0794e39c1ea38.tar.gz
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> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1755954 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'locks')
-rw-r--r--locks/win32/proc_mutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locks/win32/proc_mutex.c b/locks/win32/proc_mutex.c
index 9e227f762..b51f856c0 100644
--- a/locks/win32/proc_mutex.c
+++ b/locks/win32/proc_mutex.c
@@ -249,7 +249,7 @@ APR_DECLARE(apr_status_t) apr_os_proc_mutex_get_ex(apr_os_proc_mutex_t *ospmutex
apr_proc_mutex_t *pmutex,
apr_lockmech_e *mech)
{
- *ospmutex = mutex->handle;
+ *ospmutex = pmutex->handle;
if (mech) {
*mech = APR_LOCK_DEFAULT_TIMED;
}