* poll.cc (poll): Eliminate erroneous POLLERR conditional.

This commit is contained in:
Corinna Vinschen 2002-08-28 09:29:42 +00:00
parent 5bbbbfba55
commit 667599f478
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2002-08-28 Corinna Vinschen <corinna@vinschen.de>
* poll.cc (poll): Eliminate erroneous POLLERR conditional.
2002-08-26 Conrad Scott <conrad.scott@dsl.pipex.com>
* fhandler_socket.cc (fhandler_socket::check_peer_secret_event):

View File

@ -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;
}