Block on poll

This commit is contained in:
angt
2015-10-20 17:40:36 +02:00
parent 8ad524a0ef
commit 7f2a8ace59

View File

@@ -131,7 +131,7 @@ int main (int argc, char **argv)
buffer_setup(&input, NULL, 256*1024);
while (running) {
int ret = poll(fds, COUNT(fds), 0);
int ret = poll(fds, COUNT(fds), -1);
if (ret==-1) {
if (errno==EINTR)