summaryrefslogtreecommitdiffhomepage
path: root/libs/nixio/src/poll.c
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-03-16 13:28:47 +0000
committerSteven Barth <steven@midlink.org>2009-03-16 13:28:47 +0000
commit452442d1d05983fd0e9437f2c16fa22e1d67a947 (patch)
tree524833cb3a6abbb54f9ba72892cec3fefd6e1549 /libs/nixio/src/poll.c
parent6bfdbb69e6cd8d49bfc2ba287800de086e813425 (diff)
nixio: added syslog support
Diffstat (limited to 'libs/nixio/src/poll.c')
-rw-r--r--libs/nixio/src/poll.c4
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);