]> err.no Git - varnish/commitdiff
fix typo
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 12 Sep 2006 09:38:28 +0000 (09:38 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 12 Sep 2006 09:38:28 +0000 (09:38 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@970 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache.h
varnish-cache/bin/varnishd/cache_pool.c

index e8efeaf6e024df98b1470d5aa6a4217b3f4da94b..b9d9bea3700e862f4402056b9415cc1aab12f657 100644 (file)
@@ -451,7 +451,7 @@ do {                                                        \
                AZ(pthread_mutex_lock(foo));            \
        } else {                                        \
                VSL(SLT_Debug, 0,                       \
-                   "MTXLOCK(%s,%s,%d," #foo ")",               \
+                   "MTX_LOCK(%s,%s,%d," #foo ")",              \
                    __func__, __FILE__, __LINE__);      \
        }                                               \
 } while (0);
index fcec8481ef6346db726e27c0c5a3dac605d8bbff..96ece6bfbb3fb9a705a2b8dcc1056e503caef594 100644 (file)
@@ -271,7 +271,7 @@ wrk_reaperthread(void *priv)
                w = TAILQ_LAST(&wrk_idle, workerhead);
                if (w != NULL &&
                   (w->idle + params->wthread_timeout < now ||
-                   VSL_stats->n_wrk <= params->wthread_max)
+                   VSL_stats->n_wrk <= params->wthread_max))
                        TAILQ_REMOVE(&wrk_idle, w, list);
                else 
                        w = NULL;