Fix remote server in windows

This commit is contained in:
Andrés 2016-07-27 23:31:52 -05:00 committed by GitHub
parent fa0932e20e
commit 6c14477bce

View File

@ -248,7 +248,7 @@ void input_remote_poll(input_remote_t *handle)
if (ret == sizeof(msg))
input_remote_parse_packet(&msg, user);
else if ((ret != -1) || (errno != EAGAIN))
else if ((ret != -1) || ((errno != EAGAIN) && (errno != ENOENT))
#endif
{
ol_state->buttons[user] = 0;