From b4329dd6431e47009ab0f16d05a98646d80ab9b6 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 9 Jun 2015 13:27:51 +0100 Subject: [PATCH] Fix comment --- src/event_manager.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/event_manager.cc b/src/event_manager.cc index 0b345fc2..92d87245 100644 --- a/src/event_manager.cc +++ b/src/event_manager.cc @@ -104,8 +104,8 @@ void EventManager::handle_next_events(EventMode mode) int res = select(max_fd + 1, &rfds, nullptr, nullptr, with_timeout ? &tv : nullptr); - // copy forced fds *after* poll, so that signal handlers can write to - // m_forced_fd, interupt poll, and directly be serviced. + // copy forced fds *after* select, so that signal handlers can write to + // m_forced_fd, interupt select, and directly be serviced. fd_set forced = m_forced_fd; FD_ZERO(&m_forced_fd);