r1071 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Mon Sep 18 12:21:49 CEST 2006


Author: phk
Date: 2006-09-18 12:21:49 +0200 (Mon, 18 Sep 2006)
New Revision: 1071

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


Modified: trunk/varnish-cache/bin/varnishd/cache_pool.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_pool.c	2006-09-18 10:10:57 UTC (rev 1070)
+++ trunk/varnish-cache/bin/varnishd/cache_pool.c	2006-09-18 10:21:49 UTC (rev 1071)
@@ -196,7 +196,7 @@
 
 		/* Process overflow requests, if any */
 		w->wrq = TAILQ_FIRST(&overflow);
-		if (w != NULL) {
+		if (w->wrq != NULL) {
 			LOCK(&tmtx);
 			w->wrq = TAILQ_FIRST(&overflow);
 			if (w->wrq != NULL) {




More information about the varnish-commit mailing list