diff options
author | bjh <bjh@13f79535-47bb-0310-9956-ffa450edef68> | 2016-05-04 06:03:28 +0000 |
---|---|---|
committer | bjh <bjh@13f79535-47bb-0310-9956-ffa450edef68> | 2016-05-04 06:03:28 +0000 |
commit | 639fd80b52a2c70f42e13e012e9c3eda8df2d6f0 (patch) | |
tree | c2db385a1001557774b4a5e2f5cc575022053272 /locks | |
parent | 38dd048dc095b8ec01b749d39eafa21440c59b04 (diff) | |
download | libapr-639fd80b52a2c70f42e13e012e9c3eda8df2d6f0.tar.gz |
OS/2: Fix compile breakage in apr_thread_mutex_timedlock() due to incorrect variable name.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1742215 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'locks')
-rw-r--r-- | locks/os2/thread_mutex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/locks/os2/thread_mutex.c b/locks/os2/thread_mutex.c index 1efd6ac14..fa2d2c1f6 100644 --- a/locks/os2/thread_mutex.c +++ b/locks/os2/thread_mutex.c @@ -95,7 +95,7 @@ APR_DECLARE(apr_status_t) apr_thread_mutex_timedlock(apr_thread_mutex_t *mutex, 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; } |