From: phk Date: Thu, 10 Jul 2008 09:34:47 +0000 (+0000) Subject: The emminently sensible INFTIM isn't portable, use -1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a17bd11abf8a5578b33801a93834017a778f959;p=varnish The emminently sensible INFTIM isn't portable, use -1 git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2914 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_cli.c b/varnish-cache/bin/varnishd/cache_cli.c index ddd928ad..302fa7bd 100644 --- a/varnish-cache/bin/varnishd/cache_cli.c +++ b/varnish-cache/bin/varnishd/cache_cli.c @@ -151,7 +151,7 @@ CLI_Run(void) while (1) { pfd[0].fd = heritage.cli_in; pfd[0].events = POLLIN; - i = poll(pfd, 1, INFTIM); + i = poll(pfd, 1, -1); assert(i == 1); if (pfd[0].revents & POLLHUP) { fprintf(stderr,