diff options
author | brianp <brianp@13f79535-47bb-0310-9956-ffa450edef68> | 2002-09-01 04:15:11 +0000 |
---|---|---|
committer | brianp <brianp@13f79535-47bb-0310-9956-ffa450edef68> | 2002-09-01 04:15:11 +0000 |
commit | 81d5d21a31ce946d5bc5a21bef70a156cc7a88ef (patch) | |
tree | 9968d18f2aef37f10d494ce76b1f513b3c4487df /poll | |
parent | b3e7bfec4df6d8ccb2b657b5bbdf8f167e60a53d (diff) | |
download | libapr-81d5d21a31ce946d5bc5a21bef70a156cc7a88ef.tar.gz |
Bugfix for apr_pollset_remove()
git-svn-id: http://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)); |