diff options
Diffstat (limited to 'libs/nixio/src/poll.c')
-rw-r--r-- | libs/nixio/src/poll.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/nixio/src/poll.c b/libs/nixio/src/poll.c index 33cb46964..fdec2caaf 100644 --- a/libs/nixio/src/poll.c +++ b/libs/nixio/src/poll.c @@ -143,9 +143,7 @@ static int nixio_poll(lua_State *L) { lua_pop(L, 3); } - do { - status = poll(fds, (nfds_t)len, timeout); - } while (status == -1 && errno == EINTR); + status = poll(fds, (nfds_t)len, timeout); if (status < 1) { free(fds); |