[dovecot-cvs] dovecot/src/lib ioloop-poll.c,1.24,1.25

cras at dovecot.org cras at dovecot.org
Sun Apr 17 17:57:21 EEST 2005


Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv20670

Modified Files:
	ioloop-poll.c 
Log Message:
If we get POLLNVAL, call the callback anyway so it hopefully gets rid of the
condition.



Index: ioloop-poll.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/ioloop-poll.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- ioloop-poll.c	5 Sep 2004 21:10:00 -0000	1.24
+++ ioloop-poll.c	17 Apr 2005 14:57:18 -0000	1.25
@@ -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;



More information about the dovecot-cvs mailing list