event/MultiSocketMonitor: add struct SingleFD

Prepare for migrating away from GLib.
This commit is contained in:
Max Kellermann
2013-08-10 10:10:40 +02:00
parent f3f4b332ae
commit bb2af791e9
2 changed files with 32 additions and 8 deletions

View File

@@ -74,7 +74,7 @@ MultiSocketMonitor::Check() const
return true;
for (const auto &i : fds)
if (i.revents != 0)
if (i.GetReturnedEvents() != 0)
return true;
return false;