apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject svn commit: r1742215 - /apr/apr/trunk/locks/os2/thread_mutex.c
Date Wed, 04 May 2016 06:03:29 GMT
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;
         }



Mime
View raw message