diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-08-22 20:59:35 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-08-22 20:59:35 +0200 |
commit | bb3d669c3babc5d6acb6bcd93e7fe65b85f4c878 (patch) | |
tree | c6b23e6682a28db90e8d1c9a1b7091b2a12130d7 | |
parent | ee2457df7c762f379a4cd3e434d99294aa68387c (diff) | |
download | liberty-bb3d669c3babc5d6acb6bcd93e7fe65b85f4c878.tar.gz liberty-bb3d669c3babc5d6acb6bcd93e7fe65b85f4c878.tar.xz liberty-bb3d669c3babc5d6acb6bcd93e7fe65b85f4c878.zip |
Fix epoll with no FDs to watch over
-rw-r--r-- | liberty.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1421,7 +1421,7 @@ poller_run (struct poller *self) int n_fds; do - n_fds = epoll_wait (self->epoll_fd, self->revents, self->len, + n_fds = epoll_wait (self->epoll_fd, self->revents, self->alloc, self->idle ? 0 : poller_timers_get_poll_timeout (&self->timers)); while (n_fds == -1 && errno == EINTR); |