summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ot_stats.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ot_stats.c b/ot_stats.c
index e9bb2f1..a53ac3b 100644
--- a/ot_stats.c
+++ b/ot_stats.c
@@ -550,7 +550,7 @@ void stats_issue_event( ot_status_event event, PROTO_FLAG proto, uintptr_t event
550 case EVENT_ANNOUNCE: 550 case EVENT_ANNOUNCE:
551 if( proto == FLAG_TCP ) ot_overall_tcp_successfulannounces++; else ot_overall_udp_successfulannounces++; 551 if( proto == FLAG_TCP ) ot_overall_tcp_successfulannounces++; else ot_overall_udp_successfulannounces++;
552 break; 552 break;
553 case EVENT_CONNECT: 553 case EVENT_CONNECT:
554 if( proto == FLAG_TCP ) ot_overall_tcp_connects++; else ot_overall_udp_connects++; 554 if( proto == FLAG_TCP ) ot_overall_tcp_connects++; else ot_overall_udp_connects++;
555 break; 555 break;
556 case EVENT_SCRAPE: 556 case EVENT_SCRAPE:
@@ -584,12 +584,12 @@ void stats_issue_event( ot_status_event event, PROTO_FLAG proto, uintptr_t event
584 case EVENT_FAILED: 584 case EVENT_FAILED:
585 ot_failed_request_counts[event_data]++; 585 ot_failed_request_counts[event_data]++;
586 break; 586 break;
587 case EVENT_RENEW: 587 case EVENT_RENEW:
588 ot_renewed[event_data]++; 588 ot_renewed[event_data]++;
589 break; 589 break;
590 case EVENT_SYNC: 590 case EVENT_SYNC:
591 ot_overall_sync_count+=event_data; 591 ot_overall_sync_count+=event_data;
592 break; 592 break;
593 default: 593 default:
594 break; 594 break;
595 } 595 }