]> err.no Git - varnish/commitdiff
The emminently sensible INFTIM isn't portable, use -1
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 10 Jul 2008 09:34:47 +0000 (09:34 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 10 Jul 2008 09:34:47 +0000 (09:34 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2914 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_cli.c

index ddd928add045a6f5c4be09a3ab10bbe9d61248c5..302fa7bda4e29e54e03217d43b17b84c9d1dead3 100644 (file)
@@ -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,