diff options
Diffstat (limited to 'server/mpm/event/event.c')
-rw-r--r-- | server/mpm/event/event.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/mpm/event/event.c b/server/mpm/event/event.c index 55a7e562d5..5ee1ac207a 100644 --- a/server/mpm/event/event.c +++ b/server/mpm/event/event.c @@ -220,6 +220,8 @@ static apr_pollfd_t *listener_pollfd; */ static apr_pollset_t *event_pollset; +typedef struct event_conn_state_t event_conn_state_t; + /* * The chain of connections to be shutdown by a worker thread (deferred), * linked list updated atomically. @@ -2287,7 +2289,8 @@ static void *APR_THREAD_FUNC worker_thread(apr_thread_t * thd, void *dummy) break; } - rv = ap_queue_pop_something(worker_queue, &csd, &cs, &ptrans, &te); + rv = ap_queue_pop_something(worker_queue, &csd, (void **)&cs, + &ptrans, &te); if (rv != APR_SUCCESS) { /* We get APR_EOF during a graceful shutdown once all the |