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

Restore Ryan's original intent in ap_proxy_doconnect() return value check

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87034 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chuck Murcko
2000-11-20 18:10:19 +00:00
parent 9bd296d331
commit ac560d6d90

View File

@@ -1114,8 +1114,7 @@ apr_status_t ap_proxy_doconnect(apr_socket_t *sock, char *host, apr_uint32_t por
if (rv == APR_SUCCESS) {
rv = apr_connect(sock, destsa);
}
if (rv != APR_SUCCESS)
{
else if (rv != APR_SUCCESS) {
ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
"proxy connect to %s port %d failed", host, port);
}