summaryrefslogtreecommitdiff
path: root/print11.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2012-07-21 11:02:00 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2012-10-02 22:16:08 -0700
commitd325cc4930d7e04bd09d54548c6dc58329cfc15b (patch)
tree1a71d0cb1ad7370a83fc346898baa6dbaecc067b /print11.c
parent41692eb416df3bff1e5a10b8c71058248c5d9308 (diff)
downloadxscope-d325cc4930d7e04bd09d54548c6dc58329cfc15b.tar.gz
When Verbose == 0, don't print number of data items in unknown reply types
We don't print any other data from packet when Verbose == 0, just had a few random "data: (6)" type lines sneak through. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'print11.c')
-rw-r--r--print11.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/print11.c b/print11.c
index b2b61fb..7935b84 100644
--- a/print11.c
+++ b/print11.c
@@ -955,6 +955,8 @@ UnknownReply(const unsigned char *buf)
long n;
PrintField(RBf, 0, 1, REPLY, REPLYHEADER);
+ if (Verbose < 1)
+ return;
PrintField(buf, 1, 1, CARD8, "data");
printfield(buf, 2, 2, CARD16, "sequence number");
printfield(buf, 4, 4, DVALUE4(n), "reply length");