Remove ==1 in the condition

This commit is contained in:
Edznux
2020-10-09 18:58:27 +02:00
parent 0220a8ff66
commit 4cb4772e2a
2 changed files with 2 additions and 2 deletions

View File

@ -423,7 +423,7 @@ void show_stats(afl_state_t *afl) {
} }
if (unlikely(afl->afl_env.afl_statsd == 1)) { if (unlikely(afl->afl_env.afl_statsd)) {
if (cur_ms - afl->statsd_last_send_ms > STATSD_UPDATE_SEC * 1000) { if (cur_ms - afl->statsd_last_send_ms > STATSD_UPDATE_SEC * 1000) {

View File

@ -894,7 +894,7 @@ int main(int argc, char **argv_orig, char **envp) {
} }
if (unlikely(afl->afl_env.afl_statsd == 1)) { statsd_setup_format(afl); } if (unlikely(afl->afl_env.afl_statsd)) { statsd_setup_format(afl); }
if (strchr(argv[optind], '/') == NULL && !afl->unicorn_mode) { if (strchr(argv[optind], '/') == NULL && !afl->unicorn_mode) {