From faa38f1518ca4e63e9e895fe75d21097cdbc1d87 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Tue, 3 Feb 2009 16:46:31 +0000 Subject: [PATCH] Formatting --- ot_stats.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ot_stats.c b/ot_stats.c index 1713531..36ff073 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 case EVENT_ANNOUNCE: if( proto == FLAG_TCP ) ot_overall_tcp_successfulannounces++; else ot_overall_udp_successfulannounces++; break; - case EVENT_CONNECT: + case EVENT_CONNECT: if( proto == FLAG_TCP ) ot_overall_tcp_connects++; else ot_overall_udp_connects++; break; case EVENT_SCRAPE: @@ -584,12 +584,12 @@ void stats_issue_event( ot_status_event event, PROTO_FLAG proto, uintptr_t event case EVENT_FAILED: ot_failed_request_counts[event_data]++; break; - case EVENT_RENEW: + case EVENT_RENEW: ot_renewed[event_data]++; break; case EVENT_SYNC: ot_overall_sync_count+=event_data; - break; + break; default: break; } @@ -625,4 +625,4 @@ void stats_deinit( ) { pthread_cancel( thread_id ); } -const char *g_version_stats_c = "$Source: /home/cvsroot/opentracker/ot_stats.c,v $: $Revision: 1.39 $\n"; +const char *g_version_stats_c = "$Source: /home/cvsroot/opentracker/ot_stats.c,v $: $Revision: 1.40 $\n";