From: Graham Leggett Date: Mon, 19 Dec 2011 17:13:55 +0000 (+0000) Subject: Fix the case where AP_DEBUG is unset. X-Git-Tag: 2.5.0-alpha~7647 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3f12b4173d405c49d6275c519cd6f926bbde4394;p=apache 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 --- diff --git a/server/mpm/event/event.c b/server/mpm/event/event.c index d7826199a9..982e8e5d1e 100644 --- a/server/mpm/event/event.c +++ b/server/mpm/event/event.c @@ -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); }