diff options
Diffstat (limited to 'server/listen.c')
-rw-r--r-- | server/listen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/listen.c b/server/listen.c index e6873baec4..13a53ac7fd 100644 --- a/server/listen.c +++ b/server/listen.c @@ -389,7 +389,7 @@ static int ap_listen_open(apr_pool_t *pool, apr_port_t port) * is already forgotten about by the time we call accept, we won't * be hung until another connection arrives on that port */ - if (ap_listeners->next) { + if (ap_listeners && ap_listeners->next) { for (lr = ap_listeners; lr; lr = lr->next) { apr_status_t status; |