r2058 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Sun Sep 30 21:42:16 CEST 2007


Author: phk
Date: 2007-09-30 21:42:16 +0200 (Sun, 30 Sep 2007)
New Revision: 2058

Modified:
   trunk/varnish-cache/bin/varnishd/cache_pool.c
Log:
nitpicking


Modified: trunk/varnish-cache/bin/varnishd/cache_pool.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_pool.c	2007-09-30 19:42:08 UTC (rev 2057)
+++ trunk/varnish-cache/bin/varnishd/cache_pool.c	2007-09-30 19:42:16 UTC (rev 2058)
@@ -199,12 +199,11 @@
 static void *
 wrk_thread(void *priv)
 {
-	struct worker *w, ww;
+	struct worker w[1];
 	struct wq *qp;
 	char c;
 
 	qp = priv;
-	w = &ww;
 	memset(w, 0, sizeof *w);
 	w->magic = WORKER_MAGIC;
 	w->used = TIM_real();




More information about the varnish-commit mailing list