aboutsummaryrefslogtreecommitdiff
path: root/src/InotifySource.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/InotifySource.cxx')
-rw-r--r--src/InotifySource.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/InotifySource.cxx b/src/InotifySource.cxx
index 5da32c9b..5552ed57 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