diff options
Diffstat (limited to 'common.c')
-rw-r--r-- | common.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1212,6 +1212,8 @@ poller_run (struct poller *self) continue; struct poller_fd *fd = revents->data.ptr; + hard_assert (fd->index != -1); + struct pollfd pfd; pfd.fd = fd->fd; pfd.revents = poller_epoll_to_poll_events (revents->events); |