diff options
author | Roger Dingledine <arma@torproject.org> | 2003-10-07 20:02:45 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-10-07 20:02:45 +0000 |
commit | f9f091eb0eb81b0a1d9a104da7802cbd8f3607a3 (patch) | |
tree | d33ab1325a572c3ed8c1daf992b2050a9a8f1334 /src | |
parent | 6957f8ed276161076dd9b04dbb157f027b92f7e3 (diff) | |
download | tor-f9f091eb0eb81b0a1d9a104da7802cbd8f3607a3.tar tor-f9f091eb0eb81b0a1d9a104da7802cbd8f3607a3.tar.gz |
do not ask for whom there's an error, it polls for thee
svn:r548
Diffstat (limited to 'src')
-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) { |