r4565 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Tue Feb 16 22:11:05 CET 2010
Author: phk
Date: 2010-02-16 22:11:05 +0100 (Tue, 16 Feb 2010)
New Revision: 4565
Modified:
trunk/varnish-cache/bin/varnishd/cache_acceptor.c
Log:
Pretend to use the variables, even if the kernel is deficient.
Modified: trunk/varnish-cache/bin/varnishd/cache_acceptor.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_acceptor.c 2010-02-16 21:08:30 UTC (rev 4564)
+++ trunk/varnish-cache/bin/varnishd/cache_acceptor.c 2010-02-16 21:11:05 UTC (rev 4565)
@@ -118,6 +118,10 @@
assert(l == sizeof tv);
if (memcmp(&tv, &tv_sndtimeo, l))
need_sndtimeo = 1;
+#else
+ (void)tv;
+ (void)tv_sndtimeo;
+ (void)need_sndtimeo;
#endif
#ifdef SO_RCVTIMEO_WORKS
@@ -126,6 +130,10 @@
assert(l == sizeof tv);
if (memcmp(&tv, &tv_rcvtimeo, l))
need_rcvtimeo = 1;
+#else
+ (void)tv;
+ (void)tv_rcvtimeo;
+ (void)need_rcvtimeo;
#endif
need_test = 0;
More information about the varnish-commit
mailing list