lib/nfs/Connection: don't pass HANGUP to Schedule()

This flag is output-only.
This commit is contained in:
Max Kellermann 2020-04-23 15:20:48 +02:00
parent 905db05cf9
commit a27580d0cc

View File

@ -450,8 +450,7 @@ NfsConnection::ScheduleSocket() noexcept
SocketMonitor::Open(_fd);
}
SocketMonitor::Schedule(libnfs_to_events(which_events)
| SocketMonitor::HANGUP);
SocketMonitor::Schedule(libnfs_to_events(which_events));
}
inline int