From: William A. Rowe Jr Date: Mon, 11 Nov 2002 05:58:39 +0000 (+0000) Subject: Fix several cut 'n paste errors identified by Juergen Heckel. X-Git-Tag: 2.0.44~88 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c7abede89f00d8b1806db98ae0b19c435d1b5a3c;p=apache 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 --- 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)) {