r2914 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Thu Jul 10 11:34:48 CEST 2008
Author: phk
Date: 2008-07-10 11:34:47 +0200 (Thu, 10 Jul 2008)
New Revision: 2914
Modified:
trunk/varnish-cache/bin/varnishd/cache_cli.c
Log:
The emminently sensible INFTIM isn't portable, use -1
Modified: trunk/varnish-cache/bin/varnishd/cache_cli.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_cli.c 2008-07-10 08:09:15 UTC (rev 2913)
+++ trunk/varnish-cache/bin/varnishd/cache_cli.c 2008-07-10 09:34:47 UTC (rev 2914)
@@ -151,7 +151,7 @@
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,
More information about the varnish-commit
mailing list