diff options
Diffstat (limited to 'src/InotifySource.cxx')
-rw-r--r-- | src/InotifySource.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/InotifySource.cxx b/src/InotifySource.cxx index 5da32c9bd..5552ed578 100644 --- a/src/InotifySource.cxx +++ b/src/InotifySource.cxx @@ -41,7 +41,7 @@ mpd_inotify_quark(void) return g_quark_from_static_string("inotify"); } -void +bool InotifySource::OnSocketReady(gcc_unused unsigned flags) { void *dest; @@ -79,6 +79,8 @@ InotifySource::OnSocketReady(gcc_unused unsigned flags) callback(event->wd, event->mask, name, callback_ctx); fifo_buffer_consume(buffer, sizeof(*event) + event->len); } + + return true; } inline |