Commit f110a256 authored by Graham Leggett's avatar Graham Leggett
Browse files

Fix the case where AP_DEBUG is unset.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220850 13f79535-47bb-0310-9956-ffa450edef68
parent d6ca6794
Loading
Loading
Loading
Loading
+1 −1
Changes for server/mpm/event/event.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -810,6 +810,7 @@ static void process_pollop(pollset_op_t *op)
 */
static int start_lingering_close(event_conn_state_t *cs, ap_equeue_t *eq)
{
    apr_status_t rv;

    cs->c->sbh = NULL;  /* prevent scoreboard updates from the listener 
                         * worker will loop around soon and set SERVER_READY
@@ -834,7 +835,6 @@ static int start_lingering_close(event_conn_state_t *cs, ap_equeue_t *eq)

#ifdef AP_DEBUG
        {
            apr_status_t rv;
            rv = apr_socket_timeout_set(csd, 0);
            AP_DEBUG_ASSERT(rv == APR_SUCCESS);
        }