r4196 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Tue Aug 18 13:23:41 CEST 2009
Author: phk
Date: 2009-08-18 13:23:41 +0200 (Tue, 18 Aug 2009)
New Revision: 4196
Modified:
trunk/varnish-cache/bin/varnishd/cache_vcl.c
Log:
Muffle Flexelint a little bit.
Modified: trunk/varnish-cache/bin/varnishd/cache_vcl.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_vcl.c 2009-08-18 11:16:05 UTC (rev 4195)
+++ trunk/varnish-cache/bin/varnishd/cache_vcl.c 2009-08-18 11:23:41 UTC (rev 4196)
@@ -84,10 +84,10 @@
void
VCL_Get(struct VCL_conf **vcc)
{
- static int once;
+ static int once = 0;
while (!once && vcl_active == NULL) {
- sleep(1);
+ (void)sleep(1);
}
once = 1;
More information about the varnish-commit
mailing list