From: phk Date: Fri, 11 Aug 2006 20:47:28 +0000 (+0000) Subject: When -b and -c given, supress "other" messages. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a04e4fb3a14cb09fa162365d50fd08631290a82;p=varnish When -b and -c given, supress "other" messages. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@822 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishlog/varnishlog.c b/varnish-cache/bin/varnishlog/varnishlog.c index 45547d9a..6afae549 100644 --- a/varnish-cache/bin/varnishlog/varnishlog.c +++ b/varnish-cache/bin/varnishlog/varnishlog.c @@ -48,7 +48,8 @@ h_order(void *priv, unsigned tag, unsigned fd, unsigned len, unsigned spec, cons (void)priv; if (!(spec & (VSL_S_CLIENT|VSL_S_BACKEND))) { - VSL_H_Print(stdout, tag, fd, len, spec, ptr); + if (!bflag && !cflag) + VSL_H_Print(stdout, tag, fd, len, spec, ptr); return (0); } if (ob[fd] == NULL) {