From f193e95a3ecd9e1c9ecf4b594517f3326e40f5e5 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Thu, 4 Mar 2021 23:57:12 +0800 Subject: fuzz: avoid extraneous printing --- fuzz/fuzz-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuzz/fuzz-common.c b/fuzz/fuzz-common.c index 887308a..9cc6d75 100644 --- a/fuzz/fuzz-common.c +++ b/fuzz/fuzz-common.c @@ -354,8 +354,8 @@ const void* fuzz_get_algo(const algo_type *algos, const char* name) { } 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); } } -- cgit v1.2.3