r496 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Wed Jul 19 10:33:10 CEST 2006
Author: phk
Date: 2006-07-19 10:33:10 +0200 (Wed, 19 Jul 2006)
New Revision: 496
Modified:
trunk/varnish-cache/bin/varnishd/cache_pool.c
Log:
Properly zero the worker structure when we start a thread.
Modified: trunk/varnish-cache/bin/varnishd/cache_pool.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_pool.c 2006-07-18 13:47:10 UTC (rev 495)
+++ trunk/varnish-cache/bin/varnishd/cache_pool.c 2006-07-19 08:33:10 UTC (rev 496)
@@ -34,7 +34,7 @@
struct timespec ts;
w = &ww;
- memset(w, 0, sizeof w);
+ memset(w, 0, sizeof *w);
AZ(pthread_cond_init(&w->cv, NULL));
More information about the varnish-commit
mailing list