summaryrefslogtreecommitdiff
path: root/prtype.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 /prtype.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 'prtype.c')
-rw-r--r--prtype.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/prtype.c b/prtype.c
index b1ba8ce..5889b52 100644
--- a/prtype.c
+++ b/prtype.c
@@ -749,6 +749,9 @@ PrintList(const unsigned char *buf,
long i;
long sum;
+ if (Verbose == 0)
+ return (0);
+
if (number == 0)
return (0);