changeset 3298:ed7e4f7a2315 HEAD

If we get POLLNVAL, call the callback anyway so it hopefully gets rid of the condition.
author Timo Sirainen <tss@iki.fi>
date Sun, 17 Apr 2005 17:57:18 +0300
parents b596431525d3
children 361ce931354e
files src/lib/ioloop-poll.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib/ioloop-poll.c	Sun Apr 17 01:22:23 2005 +0300
+++ b/src/lib/ioloop-poll.c	Sun Apr 17 17:57:18 2005 +0300
@@ -161,7 +161,7 @@
 					io->fd, (void *) io->callback);
 				pollfd->events &= ~POLLNVAL;
 				pollfd->revents = 0;
-				call = FALSE;
+				call = TRUE;
 			} else if ((io->condition &
 				    (IO_READ|IO_WRITE)) == (IO_READ|IO_WRITE)) {
 				call = TRUE;