Commit 8192c8a0 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Don't emit confusing messages about errors during cleanup



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4578 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 0a3bf9a1
......@@ -123,6 +123,8 @@ static const char * const lead[] = {
static void
vtc_log_emit(struct vtclog *vl, unsigned lvl)
{
if (vtc_stop && lvl == 0)
return;
AZ(pthread_mutex_lock(&vtclog_mtx));
vsb_cat(vtclog_full, vsb_data(vl->vsb));
AZ(pthread_mutex_unlock(&vtclog_mtx));
......
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