Commit ece23353 authored by Chuck Murcko's avatar Chuck Murcko
Browse files

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
parent 7fbe62ec
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);
    }