diff options
author | Brian Pane <brianp@apache.org> | 2002-09-01 04:15:11 +0000 |
---|---|---|
committer | Brian Pane <brianp@apache.org> | 2002-09-01 04:15:11 +0000 |
commit | 364f18c023202d9ad95788eb0435569a0c225f0b (patch) | |
tree | 9968d18f2aef37f10d494ce76b1f513b3c4487df /poll | |
parent | 2ca0003dd684316b39f773aa8a7e9723971373b9 (diff) | |
download | apr-364f18c023202d9ad95788eb0435569a0c225f0b.tar.gz |
Bugfix for apr_pollset_remove()
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63843 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poll')
-rw-r--r-- | poll/unix/poll.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/poll/unix/poll.c b/poll/unix/poll.c index 82b049902..657625d97 100644 --- a/poll/unix/poll.c +++ b/poll/unix/poll.c @@ -463,6 +463,7 @@ APR_DECLARE(apr_status_t) apr_pollset_remove(apr_pollset_t *pollset, else { pollset->pollset[dst] = pollset->pollset[i]; pollset->query_set[dst] = pollset->query_set[i]; + dst++; } } return APR_SUCCESS; @@ -493,6 +494,7 @@ APR_DECLARE(apr_status_t) apr_pollset_remove(apr_pollset_t *pollset, } else { pollset->query_set[dst] = pollset->query_set[i]; + dst++; } } FD_CLR(fd, &(pollset->readset)); |