summaryrefslogtreecommitdiff
path: root/support/unix
diff options
context:
space:
mode:
Diffstat (limited to 'support/unix')
-rw-r--r--support/unix/waitio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/unix/waitio.c b/support/unix/waitio.c
index 92c1a368d..c02f14155 100644
--- a/support/unix/waitio.c
+++ b/support/unix/waitio.c
@@ -85,12 +85,12 @@ apr_status_t apr_wait_for_io_or_timeout(apr_file_t *f, apr_socket_t *s,
pollset.p = s->cntxt;
timeout = s->timeout;
}
- pollset.events = type;
+ pollset.reqevents = type;
do {
srv = apr_poll(&pollset, 1, &n, timeout);
- if (n == 1 && pollset.revents & type) {
+ if (n == 1 && pollset.rtnevents & type) {
return APR_SUCCESS;
}
} while (APR_STATUS_IS_EINTR(srv));