event/SocketMonitor: use class SocketDescriptor

This commit is contained in:
Max Kellermann
2017-08-10 18:25:22 +02:00
parent fcfc8bacc0
commit 492b20a89d
21 changed files with 80 additions and 83 deletions

View File

@@ -413,7 +413,7 @@ NfsConnection::ScheduleSocket()
return;
_fd.EnableCloseOnExec();
SocketMonitor::Open(_fd.Get());
SocketMonitor::Open(_fd);
}
SocketMonitor::Schedule(libnfs_to_events(which_events)