diff options
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r-- | example/ndpiReader.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index f619865bb..d53576112 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -4389,10 +4389,11 @@ void compressedBitmapUnitTest() { assert(b1); assert((it = ndpi_bitmap_iterator_alloc(b))); - while(ndpi_bitmap_iterator_next(it, &value)) - printf("%u ", value); - - printf("\n"); + while(ndpi_bitmap_iterator_next(it, &value)) { + if(trace) printf("%u ", value); + } + + if(trace) printf("\n"); ndpi_bitmap_iterator_free(it); ndpi_free(buf); |