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 07c8448a5b
commit c80be1ec80
1 changed files with 1 additions and 0 deletions

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)