diff options
Diffstat (limited to 'locks/os2/thread_mutex.c')
-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; } |