Commit 29d778fa authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

fix typo


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@970 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 2bb86e3d
...@@ -451,7 +451,7 @@ do { \ ...@@ -451,7 +451,7 @@ do { \
AZ(pthread_mutex_lock(foo)); \ AZ(pthread_mutex_lock(foo)); \
} else { \ } else { \
VSL(SLT_Debug, 0, \ VSL(SLT_Debug, 0, \
"MTXLOCK(%s,%s,%d," #foo ")", \ "MTX_LOCK(%s,%s,%d," #foo ")", \
__func__, __FILE__, __LINE__); \ __func__, __FILE__, __LINE__); \
} \ } \
} while (0); } while (0);
......
...@@ -271,7 +271,7 @@ wrk_reaperthread(void *priv) ...@@ -271,7 +271,7 @@ wrk_reaperthread(void *priv)
w = TAILQ_LAST(&wrk_idle, workerhead); w = TAILQ_LAST(&wrk_idle, workerhead);
if (w != NULL && if (w != NULL &&
(w->idle + params->wthread_timeout < now || (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); TAILQ_REMOVE(&wrk_idle, w, list);
else else
w = NULL; w = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment