[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] do not ask for whom there"s an error, it polls for thee



Update of /home/or/cvsroot/src/common
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/common

Modified Files:
	fakepoll.c 
Log Message:
do not ask for whom there's an error, it polls for thee


Index: fakepoll.c
===================================================================
RCS file: /home/or/cvsroot/src/common/fakepoll.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- fakepoll.c	14 Aug 2003 17:51:36 -0000	1.8
+++ fakepoll.c	7 Oct 2003 20:02:45 -0000	1.9
@@ -61,8 +61,7 @@
 			FD_SET(fd, &readfds);
 		if (ufds[idx].events & POLLOUT)
 			FD_SET(fd, &writefds);
-		if (ufds[idx].events & POLLERR)
-			FD_SET(fd, &exceptfds);
+		FD_SET(fd, &exceptfds);
 	}
 #ifdef MS_WINDOWS
         if (!any_fds_set) {