From: Pekka Riikonen Date: Thu, 30 Oct 2003 20:22:52 +0000 (+0000) Subject: Removed abort(). X-Git-Tag: silc.client.0.9.15~4 X-Git-Url: http://git.silcnet.org/gitweb/?a=commitdiff_plain;h=c89f329845b8999697a55bf404e9c1582ed0a6e8;p=silc.git Removed abort(). --- diff --git a/lib/silcutil/silcschedule.c b/lib/silcutil/silcschedule.c index 19a0dd36..5a21c378 100644 --- a/lib/silcutil/silcschedule.c +++ b/lib/silcutil/silcschedule.c @@ -635,31 +635,6 @@ bool silc_schedule_one(SilcSchedule schedule, int timeout_usecs) /* Error */ if (errno == EINTR) break; -#if 1 -#ifndef SILC_WIN32 - if (errno == EBADF) { - int i; - - SILC_LOG_ERROR(("Error in select(): %s, last_fd %d", - strerror(errno), schedule->last_fd)); - - for (i = 0; i < schedule->last_fd + 1; i++) { - if (!schedule->fd_list[i].events) - continue; - - SILC_LOG_ERROR(( - " %d (%s%s)", - (unsigned int)schedule->fd_list[i].fd, - schedule->fd_list[i].events & SILC_TASK_READ ? "r" : "", - schedule->fd_list[i].events & SILC_TASK_WRITE ? "w" : "")); - } - fflush(stdout); - fflush(stderr); - abort(); - break; - } -#endif -#endif SILC_LOG_ERROR(("Error in select(): %s", strerror(errno))); break; case 0: