about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/afl-fuzz-run.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afl-fuzz-run.c b/src/afl-fuzz-run.c
index 8dc0b334..b7c4ae05 100644
--- a/src/afl-fuzz-run.c
+++ b/src/afl-fuzz-run.c
@@ -901,10 +901,12 @@ common_fuzz_stuff(afl_state_t *afl, u8 *out_buf, u32 len) {
       afl->stage_cur + 1 == afl->stage_max) {
 
     show_stats(afl);
+    #ifdef USE_STATSD
     if(send_statsd_metric(afl)){
       //Change me to something realistic; don't fail on connection / lookup fail for metrics...
       exit(1);
     }
+    #endif
   }
 
   return 0;