event/SocketMonitor: use class SocketDescriptor
This commit is contained in:
@@ -398,7 +398,7 @@ ProxyDatabase::Connect()
|
||||
idle_received = unsigned(-1);
|
||||
is_idle = false;
|
||||
|
||||
SocketMonitor::Open(mpd_async_get_fd(mpd_connection_get_async(connection)));
|
||||
SocketMonitor::Open(SocketDescriptor(mpd_async_get_fd(mpd_connection_get_async(connection))));
|
||||
IdleMonitor::Schedule();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user