Commit 23578907 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

An assert a day keeps the bugs away



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5450 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent c55cb6a9
......@@ -65,6 +65,7 @@ void
vtc_loginit()
{
AZ(vtclog_full);
vtclog_full = vsb_newauto();
AN(vtclog_full);
AZ(pthread_mutex_init(&vtclog_mtx, NULL));
......@@ -74,6 +75,7 @@ void
vtc_logreset()
{
AN(vtclog_full);
vsb_clear(vtclog_full);
}
......
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