Commit d4b94a11 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

The emminently sensible INFTIM isn't portable, use -1



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2914 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 252722ca
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment