diff options
author | Brian Havard <bjh@apache.org> | 2016-05-04 06:03:28 +0000 |
---|---|---|
committer | Brian Havard <bjh@apache.org> | 2016-05-04 06:03:28 +0000 |
commit | 9c04f0db7c79b7541d534f31ce599d8d604e73d3 (patch) | |
tree | c2db385a1001557774b4a5e2f5cc575022053272 /locks | |
parent | 1ac73768011d2bade4b8b0fa55612d8640ce2956 (diff) | |
download | apr-9c04f0db7c79b7541d534f31ce599d8d604e73d3.tar.gz |
OS/2: Fix compile breakage in apr_thread_mutex_timedlock() due to incorrect variable name.
git-svn-id: https://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; } |