1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-06 16:49:32 +03:00

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
This commit is contained in:
William A. Rowe Jr
2002-11-11 05:58:39 +00:00
parent 25eea10607
commit c7abede89f

View File

@@ -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)) {