From 6c14477bce6de8de70768e275a8ebdf86f3f4d54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s?= Date: Wed, 27 Jul 2016 23:31:52 -0500 Subject: [PATCH] Fix remote server in windows --- input/input_remote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/input_remote.c b/input/input_remote.c index 6d37b30f1b..4be97f84a4 100644 --- a/input/input_remote.c +++ b/input/input_remote.c @@ -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;