X-Git-Url: http://git.pk910.de/?p=TransparentIRC.git;a=blobdiff_plain;f=src%2FIOEngine_select.c;h=e37b10496651c5ece864c18a07c6ff97f898a317;hp=2f32bf04fe9f8eb457bd5c5c5c7dd0f316d04948;hb=8889b0aee1dc430e735e2a0df462fd0aeee63847;hpb=4fdc419424dd18df5807ed4218a84fa38e1dd6f6 diff --git a/src/IOEngine_select.c b/src/IOEngine_select.c index 2f32bf0..e37b104 100644 --- a/src/IOEngine_select.c +++ b/src/IOEngine_select.c @@ -96,6 +96,7 @@ static void engine_select_loop(struct timeval *timeout) { if(iofd->type == IOTYPE_SERVER || iofd->type == IOTYPE_CLIENT || iofd->type == IOTYPE_STDIN) { if(FD_ISSET(iofd->fd, &read_fds) || FD_ISSET(iofd->fd, &write_fds)) { iohandler_events(iofd, FD_ISSET(iofd->fd, &read_fds), FD_ISSET(iofd->fd, &write_fds)); + continue; } } if(iofd->type == IOTYPE_TIMER || iofd->timeout.tv_sec || iofd->timeout.tv_usec) {