diff options
-rw-r--r-- | poll/unix/poll.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/poll/unix/poll.c b/poll/unix/poll.c index a5a0965a7..b0c215b71 100644 --- a/poll/unix/poll.c +++ b/poll/unix/poll.c @@ -275,6 +275,10 @@ APR_DECLARE(apr_status_t) apr_poll(apr_pollfd_t *aprset, int num, apr_int32_t *n } #endif + for (i = 0; i < *nsds; i++) { + aprset[i].rtnevents = 0; + } + (*nsds) = rv; if ((*nsds) == 0) { return APR_TIMEUP; |