From c7abede89f00d8b1806db98ae0b19c435d1b5a3c Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Mon, 11 Nov 2002 05:58:39 +0000 Subject: [PATCH] Fix several cut 'n paste errors identified by Juergen Heckel. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97481 13f79535-47bb-0310-9956-ffa450edef68 --- modules/arch/win32/mod_isapi.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/arch/win32/mod_isapi.c b/modules/arch/win32/mod_isapi.c index 83032ab338..9349663db5 100644 --- a/modules/arch/win32/mod_isapi.c +++ b/modules/arch/win32/mod_isapi.c @@ -892,9 +892,7 @@ int APR_THREAD_FUNC ServerSupportFunction(isapi_cid *cid, * leave it to the pool cleanup to dispose of our mutex. */ if (cid->completed) { - rv = apr_thread_mutex_create(&cid->completed, - APR_THREAD_MUTEX_UNNESTED, - r->pool); + (void)apr_thread_mutex_unlock(cid->completed); return 1; } else if (cid->dconf.log_unsupported) { @@ -1498,7 +1496,7 @@ apr_status_t isapi_handler (request_rec *r) APR_THREAD_MUTEX_UNNESTED, r->pool); if (cid->completed && (rv == APR_SUCCESS)) { - rv = apr_thread_mutex_lock(comp); + rv = apr_thread_mutex_lock(cid->completed); } if (!cid->completed || (rv != APR_SUCCESS)) { -- 2.50.1