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
......@@ -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) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment