Commit 1d9d37b9 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Off-by-one bug prevented the actual failure from being displayed if -v options

given.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4541 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent a09153ea
......@@ -127,7 +127,7 @@ vtc_log_emit(struct vtclog *vl, unsigned lvl)
vsb_cat(vtclog_full, vsb_data(vl->vsb));
AZ(pthread_mutex_unlock(&vtclog_mtx));
if (lvl > 0 && lvl <= vtc_verbosity)
if (lvl <= vtc_verbosity)
(void)fputs(vsb_data(vl->vsb), stdout);
}
......
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