[experimental-ims] 29fcad4 stylistic nit

Geoff Simmons geoff at varnish-cache.org
Tue Jan 24 18:30:27 CET 2012


commit 29fcad40204b0ac09d81139692c8f26ebf3f06cf
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Jan 23 09:34:41 2012 +0000

    stylistic nit

diff --git a/bin/varnishd/cache/cache_pool.c b/bin/varnishd/cache/cache_pool.c
index 84a6cfd..0f7c9e4 100644
--- a/bin/varnishd/cache/cache_pool.c
+++ b/bin/varnishd/cache/cache_pool.c
@@ -218,7 +218,7 @@ Pool_Work_Thread(void *priv, struct worker *wrk)
 			}
 			VTAILQ_INSERT_TAIL(&pp->socks, ps, list);
 			wrk->do_what = pool_do_accept;
-		} else if (VTAILQ_EMPTY(&pp->socks)) {
+		} else {
 			/* Nothing to do: To sleep, perchance to dream ... */
 			if (isnan(wrk->lastused))
 				wrk->lastused = VTIM_real();



More information about the varnish-commit mailing list