aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/loop.c b/common/loop.c
index 54b034d9..1b174967 100644
--- a/common/loop.c
+++ b/common/loop.c
@@ -159,7 +159,7 @@ bool loop_remove_fd(struct loop *loop, int fd) {
159 159
160 loop->fd_length--; 160 loop->fd_length--;
161 memmove(&loop->fds[i], &loop->fds[i + 1], 161 memmove(&loop->fds[i], &loop->fds[i + 1],
162 sizeof(void*) * (loop->fd_length - i)); 162 sizeof(struct pollfd) * (loop->fd_length - i));
163 163
164 return true; 164 return true;
165 } 165 }