Commit 9a0369e6 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

Log the OS socket (int) instead of the apr_socket_t *.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089614 13f79535-47bb-0310-9956-ffa450edef68
parent 0984d20b
Loading
Loading
Loading
Loading
+2 −2
Changes for server/mpm/winnt/mpm_winnt.c: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -478,7 +478,7 @@ static int send_listeners_to_child(apr_pool_t *p, DWORD dwProcessId,
        if (WSADuplicateSocket(nsd, dwProcessId,
                               lpWSAProtocolInfo) == SOCKET_ERROR) {
            ap_log_error(APLOG_MARK, APLOG_CRIT, apr_get_netos_error(), ap_server_conf,
                         "Parent: WSADuplicateSocket failed for socket %d. Check the FAQ.", lr->sd );
                         "Parent: WSADuplicateSocket failed for socket %d. Check the FAQ.", nsd);
            return -1;
        }

@@ -486,7 +486,7 @@ static int send_listeners_to_child(apr_pool_t *p, DWORD dwProcessId,
                                      sizeof(WSAPROTOCOL_INFO), &BytesWritten))
                != APR_SUCCESS) {
            ap_log_error(APLOG_MARK, APLOG_CRIT, rv, ap_server_conf,
                         "Parent: Unable to write duplicated socket %d to the child.", lr->sd );
                         "Parent: Unable to write duplicated socket %d to the child.", nsd);
            return -1;
        }
    }