Don't try to add a closed connection.

ircd-ratbox r25965 (jilles)
This commit is contained in:
Jilles Tjoelker 2008-08-28 01:05:41 +02:00
parent 3540120ad5
commit 9692f954c6

View file

@ -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)