# HG changeset patch
# User Matt Johnston <matt@ucc.asn.au>
# Date 1614873432 -28800
# Node ID 8df3d6aa5f238dedccc33fb3218af11b349ac3a6
# Parent  8dc43b30c6bfb7856026990789488a869d262c3a
fuzz: avoid extraneous printing

diff -r 8dc43b30c6bf -r 8df3d6aa5f23 fuzz/fuzz-common.c
--- a/fuzz/fuzz-common.c	Thu Mar 04 21:03:02 2021 +0800
+++ b/fuzz/fuzz-common.c	Thu Mar 04 23:57:12 2021 +0800
@@ -354,8 +354,8 @@
 }
 
 void fuzz_dump(const unsigned char* data, size_t len) {
-    TRACE(("dump %zu", len))
     if (fuzz.dumping) {
+        TRACE(("dump %zu", len))
         assert(atomicio(vwrite, fuzz.recv_dumpfd, (void*)data, len) == len);
     }
 }