From dbfc4f6e748f6248064660640a5434f77a9d3aa6 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 18 Sep 2006 10:21:49 +0000 Subject: [PATCH] typo git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1071 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varnish-cache/bin/varnishd/cache_pool.c b/varnish-cache/bin/varnishd/cache_pool.c index a711d6c4..edbb0443 100644 --- a/varnish-cache/bin/varnishd/cache_pool.c +++ b/varnish-cache/bin/varnishd/cache_pool.c @@ -196,7 +196,7 @@ wrk_thread(void *priv) /* 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) { -- 2.39.5