summaryrefslogtreecommitdiff
path: root/ot_stats.c
diff options
context:
space:
mode:
authorerdgeist <>2009-02-03 16:46:31 +0000
committererdgeist <>2009-02-03 16:46:31 +0000
commit4c0d5c1c084e007973cfa52085e2168ab651d985 (patch)
tree522dc1bfbf050b9e673504799458af0bf4c2921a /ot_stats.c
parent9c25f99b3de9e31824dc1c442bd9f0129b04804f (diff)
Formatting
Diffstat (limited to 'ot_stats.c')
-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 }