From: phk Date: Mon, 18 Sep 2006 10:21:49 +0000 (+0000) Subject: typo X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbfc4f6e748f6248064660640a5434f77a9d3aa6;p=varnish typo git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1071 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- 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) {