From 3f12b4173d405c49d6275c519cd6f926bbde4394 Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Mon, 19 Dec 2011 17:13:55 +0000 Subject: [PATCH] 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 --- server/mpm/event/event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.40.0