Explorar o código

do not ask for whom there's an error, it polls for thee

svn:r548
Roger Dingledine %!s(int64=22) %!d(string=hai) anos
pai
achega
f9f091eb0e
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      src/common/fakepoll.c

+ 1 - 2
src/common/fakepoll.c

@@ -61,8 +61,7 @@ poll(struct pollfd *ufds, unsigned int nfds, int timeout)
 			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) {