diff options
author | Yann Ylavic <ylavic@apache.org> | 2018-01-03 09:46:39 +0000 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2018-01-03 09:46:39 +0000 |
commit | de43769560343644a4616aa833438fc4fe4f7579 (patch) | |
tree | b9769cec59609117377c0d9b6182d12ab783ddfc /poll | |
parent | 11d1564953940319330457c33b8e29eafbfd2a26 (diff) | |
download | apr-de43769560343644a4616aa833438fc4fe4f7579.tar.gz |
poll, epoll: pollset's pfd is not modified on poll(), mark it const.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1819935 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poll')
-rw-r--r-- | poll/unix/epoll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poll/unix/epoll.c b/poll/unix/epoll.c index 02db48a40..4ab03f67c 100644 --- a/poll/unix/epoll.c +++ b/poll/unix/epoll.c @@ -274,7 +274,7 @@ static apr_status_t impl_pollset_poll(apr_pollset_t *pollset, } else { int i, j; - apr_pollfd_t *fdptr; + const apr_pollfd_t *fdptr; for (i = 0, j = 0; i < ret; i++) { if (pollset->flags & APR_POLLSET_NOCOPY) { |