mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
do not ask for whom there's an error, it polls for thee
svn:r548
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user