]> err.no Git - varnish/commitdiff
When -b and -c given, supress "other" messages.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 11 Aug 2006 20:47:28 +0000 (20:47 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 11 Aug 2006 20:47:28 +0000 (20:47 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@822 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishlog/varnishlog.c

index 45547d9a2964203b3debbc572b242a43fadcb7c1..6afae5498bd66f663055704935cb5d4ecdcce946 100644 (file)
@@ -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) {