]> err.no Git - varnish/commitdiff
typo
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 18 Sep 2006 10:21:49 +0000 (10:21 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 18 Sep 2006 10:21:49 +0000 (10:21 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1071 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_pool.c

index a711d6c48a6579aa0fd87ad56dc98e48a554699b..edbb04433a92ce5d79a629d9edc5caa17f739b9e 100644 (file)
@@ -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) {