From 9692f954c646f302fc81feae1e6083d581f45586 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Thu, 28 Aug 2008 01:05:41 +0200 Subject: [PATCH] Don't try to add a closed connection. ircd-ratbox r25965 (jilles) --- src/listener.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/listener.c b/src/listener.c index e8dfb270..cc8f3aeb 100644 --- a/src/listener.c +++ b/src/listener.c @@ -571,6 +571,7 @@ accept_callback(rb_fde_t *F, int status, struct sockaddr *addr, rb_socklen_t add /* this shouldn't fail so... */ /* XXX add logging of this */ rb_close(F); + return; } if(listener->ssl)