* poll.cc (poll): Eliminate erroneous POLLERR conditional.
This commit is contained in:
@@ -88,8 +88,6 @@ poll (struct pollfd *fds, unsigned int nfds, int timeout)
|
||||
fds[i].revents |= POLLIN;
|
||||
if (FD_ISSET(fds[i].fd, write_fds))
|
||||
fds[i].revents |= POLLOUT;
|
||||
if (FD_ISSET(fds[i].fd, read_fds) && FD_ISSET(fds[i].fd, write_fds))
|
||||
fds[i].revents |= POLLERR;
|
||||
if (FD_ISSET(fds[i].fd, except_fds))
|
||||
fds[i].revents |= POLLPRI;
|
||||
}
|
||||
|
Reference in New Issue
Block a user