Remove ==1 in the condition
MODIFY
src/afl-fuzz-stats.c
src/afl-fuzz-stats.c
@@ -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) {

MODIFY
src/afl-fuzz.c
src/afl-fuzz.c
@@ -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) {

Remove ==1 in the condition