summaryrefslogtreecommitdiff
path: root/poll/unix
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2002-07-11 14:32:37 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2002-07-11 14:32:37 +0000
commit0c70690a9c4d616d0a5da2016e4af876cf44e807 (patch)
tree3d7a2cc2a2bf9996eea5d7cfbf6de1e5a42b4cda /poll/unix
parentf8a8c05a2fc682b33dadf8821dd6fc05e737f276 (diff)
downloadlibapr-0c70690a9c4d616d0a5da2016e4af876cf44e807.tar.gz
fix an apparent bug in the select() implementation of apr_poll()
(untested) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63608 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poll/unix')
-rw-r--r--poll/unix/poll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/poll/unix/poll.c b/poll/unix/poll.c
index 1f76c06fc..b69dda9d9 100644
--- a/poll/unix/poll.c
+++ b/poll/unix/poll.c
@@ -314,7 +314,7 @@ APR_DECLARE(apr_status_t) apr_poll(apr_pollfd_t *aprset, int num, apr_int32_t *n
aprset[i].revents |= APR_POLLOUT;
}
if (FD_ISSET(fd, &exceptset)) {
- aprset[i].events |= APR_POLLERR;
+ aprset[i].revents |= APR_POLLERR;
}
}