From ed2977cb550ed7c0fd151dd586414c0107265502 Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 12 Sep 2006 09:38:28 +0000 Subject: [PATCH] fix typo git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@970 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache.h | 2 +- varnish-cache/bin/varnishd/cache_pool.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/varnish-cache/bin/varnishd/cache.h b/varnish-cache/bin/varnishd/cache.h index e8efeaf6..b9d9bea3 100644 --- a/varnish-cache/bin/varnishd/cache.h +++ b/varnish-cache/bin/varnishd/cache.h @@ -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); diff --git a/varnish-cache/bin/varnishd/cache_pool.c b/varnish-cache/bin/varnishd/cache_pool.c index fcec8481..96ece6bf 100644 --- a/varnish-cache/bin/varnishd/cache_pool.c +++ b/varnish-cache/bin/varnishd/cache_pool.c @@ -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; -- 2.39.5