diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-06-14 16:10:23 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-06-14 16:10:49 +0000 |
commit | bde7f1c5cc6fe14c03116bf69b714ffcc8014fd1 (patch) | |
tree | f90d71a33c8d05d2d28865c44a13b8081dd630ad /tests/fuzz/fuzzer.h | |
parent | Do not use PIE with OSS-Fuzz (diff) | |
download | monero-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.h | 2 |
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; \ } \ |