Skip to content
Snippets Groups Projects
Commit f9f091eb authored by Roger Dingledine's avatar Roger Dingledine
Browse files

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

svn:r548
parent 6957f8ed
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment