Code format

This commit is contained in:
Edznux
2020-10-04 16:11:05 +02:00
parent 1e0bc2e5c3
commit 1a12db1b59
4 changed files with 133 additions and 130 deletions

View File

@ -423,15 +423,16 @@ void show_stats(afl_state_t *afl) {
}
#ifdef USE_STATSD
#ifdef USE_STATSD
if (cur_ms - afl->statsd_last_send_ms > STATSD_UPDATE_SEC * 1000) {
/* reset counter, even if send failed. */
afl->statsd_last_send_ms = cur_ms;
if(statsd_send_metric(afl)){
WARNF("coundln't send statsd metric.");
}
if (statsd_send_metric(afl)) { WARNF("coundln't send statsd metric."); }
}
#endif
#endif
/* Every now and then, write plot data. */