diff options
Diffstat (limited to 'server/mpm/event/event.c')
-rw-r--r-- | server/mpm/event/event.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/server/mpm/event/event.c b/server/mpm/event/event.c index 57344780f1..fa36e44db1 100644 --- a/server/mpm/event/event.c +++ b/server/mpm/event/event.c @@ -2454,11 +2454,10 @@ static void *APR_THREAD_FUNC start_threads(apr_thread_t * thd, void *dummy) /* We must create the fd queues before we start up the listener * and worker threads. */ - worker_queue = apr_pcalloc(pchild, sizeof(*worker_queue)); - rv = ap_queue_init(worker_queue, threads_per_child, pchild); + rv = ap_queue_create(&worker_queue, threads_per_child, pchild); if (rv != APR_SUCCESS) { ap_log_error(APLOG_MARK, APLOG_ALERT, rv, ap_server_conf, APLOGNO(03100) - "ap_queue_init() failed"); + "ap_queue_create() failed"); clean_child_exit(APEXIT_CHILDFATAL); } |