summaryrefslogtreecommitdiffhomepage
path: root/fuzz/fuzz-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'fuzz/fuzz-common.c')
-rw-r--r--fuzz/fuzz-common.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}