aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/iomgr/pollset_set_posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/iomgr/pollset_set_posix.c')
-rw-r--r--src/core/iomgr/pollset_set_posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/iomgr/pollset_set_posix.c b/src/core/iomgr/pollset_set_posix.c
index 005e938398..5ff7df1dcd 100644
--- a/src/core/iomgr/pollset_set_posix.c
+++ b/src/core/iomgr/pollset_set_posix.c
@@ -114,7 +114,7 @@ void grpc_pollset_set_del_fd(grpc_pollset_set *pollset_set, grpc_fd *fd) {
if (pollset_set->fds[i] == fd) {
pollset_set->fd_count--;
GPR_SWAP(grpc_fd *, pollset_set->fds[i],
- pollset_set->fds[pollset_set->pollset_count]);
+ pollset_set->fds[pollset_set->fd_count]);
GRPC_FD_UNREF(fd, "pollset_set");
break;
}