From 7f2a8ace59793d153e523cb8e5dd3ad5bf1edcab Mon Sep 17 00:00:00 2001 From: angt Date: Tue, 20 Oct 2015 17:40:36 +0200 Subject: [PATCH] Block on poll --- glorytun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glorytun.c b/glorytun.c index beddff3..f312d75 100644 --- a/glorytun.c +++ b/glorytun.c @@ -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)