diff options
author | Yann Ylavic <ylavic@apache.org> | 2022-01-19 23:17:18 +0000 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2022-01-19 23:17:18 +0000 |
commit | 4bc244e2f498e5a9f05dc88cd55a4530c57dcf2f (patch) | |
tree | b30f480c5ffa0fb3182e989364476943c9f1fb94 /poll/unix/poll.c | |
parent | b01866fd88453ac5b221386dfb233e692a80cc80 (diff) | |
download | apr-4bc244e2f498e5a9f05dc88cd55a4530c57dcf2f.tar.gz |
Revert r1896510.
Per https://lists.apache.org/thread/rt6ggcztj7w1vwrmhz27q5fz27pr57w9
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.7.x@1897222 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poll/unix/poll.c')
-rw-r--r-- | poll/unix/poll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/poll/unix/poll.c b/poll/unix/poll.c index 51c94c7d1..f148f5e50 100644 --- a/poll/unix/poll.c +++ b/poll/unix/poll.c @@ -279,7 +279,7 @@ static apr_status_t impl_pollset_poll(apr_pollset_t *pollset, if ((pollset->flags & APR_POLLSET_WAKEABLE) && pollset->p->query_set[i].desc_type == APR_POLL_FILE && pollset->p->query_set[i].desc.f == pollset->wakeup_pipe[0]) { - apr_poll_drain_wakeup_pipe(&pollset->wakeup_set, pollset->wakeup_pipe); + apr_poll_drain_wakeup_pipe(pollset->wakeup_pipe); rv = APR_EINTR; } else { @@ -431,7 +431,7 @@ static apr_status_t impl_pollcb_poll(apr_pollcb_t *pollcb, if ((pollcb->flags & APR_POLLSET_WAKEABLE) && pollfd->desc_type == APR_POLL_FILE && pollfd->desc.f == pollcb->wakeup_pipe[0]) { - apr_poll_drain_wakeup_pipe(&pollcb->wakeup_set, pollcb->wakeup_pipe); + apr_poll_drain_wakeup_pipe(pollcb->wakeup_pipe); return APR_EINTR; } |