1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Isolate the unlock return vals

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@484978 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jim Jagielski
2006-12-09 13:47:56 +00:00
parent bf5a6bc8e5
commit e4c8e34188
2 changed files with 6 additions and 4 deletions

View File

@@ -1966,6 +1966,7 @@ ap_proxy_determine_connection(apr_pool_t *p, request_rec *r,
{
int server_port;
apr_status_t err = APR_SUCCESS;
apr_status_t uerr = APR_SUCCESS;
/*
* Break up the URL to determine the host to connect to
@@ -2049,8 +2050,8 @@ ap_proxy_determine_connection(apr_pool_t *p, request_rec *r,
conn->port, 0,
worker->cp->pool);
conn->addr = worker->cp->addr;
if ((err = PROXY_THREAD_UNLOCK(worker)) != APR_SUCCESS) {
ap_log_error(APLOG_MARK, APLOG_ERR, err, r->server,
if ((uerr = PROXY_THREAD_UNLOCK(worker)) != APR_SUCCESS) {
ap_log_error(APLOG_MARK, APLOG_ERR, uerr, r->server,
"proxy: unlock");
}
}