mirror of
git://erdgeist.org/opentracker
synced 2025-02-16 22:21:30 +08:00
Formatting
This commit is contained in:
parent
9c25f99b3d
commit
4c0d5c1c08
@ -550,7 +550,7 @@ void stats_issue_event( ot_status_event event, PROTO_FLAG proto, uintptr_t event
|
|||||||
case EVENT_ANNOUNCE:
|
case EVENT_ANNOUNCE:
|
||||||
if( proto == FLAG_TCP ) ot_overall_tcp_successfulannounces++; else ot_overall_udp_successfulannounces++;
|
if( proto == FLAG_TCP ) ot_overall_tcp_successfulannounces++; else ot_overall_udp_successfulannounces++;
|
||||||
break;
|
break;
|
||||||
case EVENT_CONNECT:
|
case EVENT_CONNECT:
|
||||||
if( proto == FLAG_TCP ) ot_overall_tcp_connects++; else ot_overall_udp_connects++;
|
if( proto == FLAG_TCP ) ot_overall_tcp_connects++; else ot_overall_udp_connects++;
|
||||||
break;
|
break;
|
||||||
case EVENT_SCRAPE:
|
case EVENT_SCRAPE:
|
||||||
@ -584,12 +584,12 @@ void stats_issue_event( ot_status_event event, PROTO_FLAG proto, uintptr_t event
|
|||||||
case EVENT_FAILED:
|
case EVENT_FAILED:
|
||||||
ot_failed_request_counts[event_data]++;
|
ot_failed_request_counts[event_data]++;
|
||||||
break;
|
break;
|
||||||
case EVENT_RENEW:
|
case EVENT_RENEW:
|
||||||
ot_renewed[event_data]++;
|
ot_renewed[event_data]++;
|
||||||
break;
|
break;
|
||||||
case EVENT_SYNC:
|
case EVENT_SYNC:
|
||||||
ot_overall_sync_count+=event_data;
|
ot_overall_sync_count+=event_data;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user