mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-19 19:53:56 +00:00
Move new code out of network::socket
This commit is contained in:
@@ -254,7 +254,7 @@ namespace
|
||||
{
|
||||
int16_t socket_events{};
|
||||
|
||||
if (poll_events & (AFD_POLL_ACCEPT | AFD_POLL_RECEIVE))
|
||||
if (poll_events & (AFD_POLL_DISCONNECT | AFD_POLL_ACCEPT | AFD_POLL_RECEIVE))
|
||||
{
|
||||
socket_events |= POLLRDNORM;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user