From 75c216c82db5f18b2fea156df16682655029e3c6 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Thu, 26 Nov 2015 20:30:00 +0100 Subject: dont count scrapes as full scrapes, fall through fail --- ot_stats.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ot_stats.c b/ot_stats.c index 36949a3..7e03410 100644 --- a/ot_stats.c +++ b/ot_stats.c @@ -679,6 +679,7 @@ void stats_issue_event( ot_status_event event, PROTO_FLAG proto, uintptr_t event break; case EVENT_SCRAPE: if( proto == FLAG_TCP ) ot_overall_tcp_successfulscrapes++; else ot_overall_udp_successfulscrapes++; + break; case EVENT_FULLSCRAPE: ot_full_scrape_count++; ot_full_scrape_size += event_data; -- cgit v1.2.3