diff options
author | Steven Barth <steven@midlink.org> | 2009-03-16 13:28:47 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2009-03-16 13:28:47 +0000 |
commit | 452442d1d05983fd0e9437f2c16fa22e1d67a947 (patch) | |
tree | 524833cb3a6abbb54f9ba72892cec3fefd6e1549 /libs/nixio/src/poll.c | |
parent | 6bfdbb69e6cd8d49bfc2ba287800de086e813425 (diff) |
nixio: added syslog support
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 33cb46964c..fdec2caaf0 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); |