From 7a17bd11abf8a5578b33801a93834017a778f959 Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 10 Jul 2008 09:34:47 +0000 Subject: [PATCH] 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 --- varnish-cache/bin/varnishd/cache_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5