diff options
-rw-r--r-- | src/common/fakepoll.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/fakepoll.c b/src/common/fakepoll.c index 27804ba0e..d1936f8e4 100644 --- a/src/common/fakepoll.c +++ b/src/common/fakepoll.c @@ -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) { |