diff options
Diffstat (limited to 'polyp/mainloop.c')
-rw-r--r-- | polyp/mainloop.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/polyp/mainloop.c b/polyp/mainloop.c index e13e7b11..f56614ce 100644 --- a/polyp/mainloop.c +++ b/polyp/mainloop.c @@ -116,8 +116,7 @@ static void mainloop_io_enable(struct pa_io_event *e, enum pa_io_event_flags eve e->pollfd->events = (events & PA_IO_EVENT_INPUT ? POLLIN : 0) | (events & PA_IO_EVENT_OUTPUT ? POLLOUT : 0) | - POLLHUP | - POLLERR; + POLLERR | POLLHUP; } static void mainloop_io_free(struct pa_io_event *e) { |