You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bj...@apache.org on 2016/05/04 08:03:29 UTC

svn commit: r1742215 - /apr/apr/trunk/locks/os2/thread_mutex.c

Author: bjh
Date: Wed May  4 06:03:28 2016
New Revision: 1742215

URL: http://svn.apache.org/viewvc?rev=1742215&view=rev
Log:
OS/2: Fix compile breakage in apr_thread_mutex_timedlock() due to incorrect variable name.

Modified:
    apr/apr/trunk/locks/os2/thread_mutex.c

Modified: apr/apr/trunk/locks/os2/thread_mutex.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/locks/os2/thread_mutex.c?rev=1742215&r1=1742214&r2=1742215&view=diff
==============================================================================
--- apr/apr/trunk/locks/os2/thread_mutex.c (original)
+++ apr/apr/trunk/locks/os2/thread_mutex.c Wed May  4 06:03:28 2016
@@ -95,7 +95,7 @@ APR_DECLARE(apr_status_t) apr_thread_mut
                 timeout = 0;
             }
         }
-        rc = DosRequestMutexSem(mutex->hMutex, apr_time_as_msec(usec));
+        rc = DosRequestMutexSem(mutex->hMutex, apr_time_as_msec(timeout));
         if (rc == ERROR_TIMEOUT) {
             return APR_TIMEUP;
         }