aboutsummaryrefslogtreecommitdiff
path: root/tests/fuzz/fuzzer.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-06-14 16:10:23 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-06-14 16:10:49 +0000
commitbde7f1c5cc6fe14c03116bf69b714ffcc8014fd1 (patch)
treef90d71a33c8d05d2d28865c44a13b8081dd630ad /tests/fuzz/fuzzer.h
parentDo not use PIE with OSS-Fuzz (diff)
downloadmonero-bde7f1c5cc6fe14c03116bf69b714ffcc8014fd1.tar.xz
fuzz_tests: fix init check in oss-fuzz mode
Diffstat (limited to 'tests/fuzz/fuzzer.h')
-rw-r--r--tests/fuzz/fuzzer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fuzz/fuzzer.h b/tests/fuzz/fuzzer.h
index fac7e474a..ce230fb66 100644
--- a/tests/fuzz/fuzzer.h
+++ b/tests/fuzz/fuzzer.h
@@ -56,7 +56,7 @@ extern "C" { \
static bool first = true; \
if (first) \
{ \
- if (!init()) \
+ if (init()) \
return 1; \
first = false; \
} \