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:
@@ -892,9 +892,7 @@ int APR_THREAD_FUNC ServerSupportFunction(isapi_cid *cid,
|
|||||||
* leave it to the pool cleanup to dispose of our mutex.
|
* leave it to the pool cleanup to dispose of our mutex.
|
||||||
*/
|
*/
|
||||||
if (cid->completed) {
|
if (cid->completed) {
|
||||||
rv = apr_thread_mutex_create(&cid->completed,
|
(void)apr_thread_mutex_unlock(cid->completed);
|
||||||
APR_THREAD_MUTEX_UNNESTED,
|
|
||||||
r->pool);
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
else if (cid->dconf.log_unsupported) {
|
else if (cid->dconf.log_unsupported) {
|
||||||
@@ -1498,7 +1496,7 @@ apr_status_t isapi_handler (request_rec *r)
|
|||||||
APR_THREAD_MUTEX_UNNESTED,
|
APR_THREAD_MUTEX_UNNESTED,
|
||||||
r->pool);
|
r->pool);
|
||||||
if (cid->completed && (rv == APR_SUCCESS)) {
|
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)) {
|
if (!cid->completed || (rv != APR_SUCCESS)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user