From 27499d7a55bde404f3273a23026f2495e96adf87 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Mon, 27 Apr 2015 22:04:45 +0200 Subject: Fix typo in stat reporting, use udp and not tcp counter. Thanks to zebulon --- ot_stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ot_stats.c b/ot_stats.c index 4edfad7..36949a3 100644 --- a/ot_stats.c +++ b/ot_stats.c @@ -538,7 +538,7 @@ static size_t stats_return_everything( char * reply ) { r += sprintf( r, " \n %llu\n \n", stats.seed_count ); r += sprintf( r, " \n %llu\n \n", ot_overall_completed ); r += sprintf( r, " \n" ); - r += sprintf( r, " \n %llu\n %llu\n %llu\n \n", ot_overall_tcp_connections, ot_overall_tcp_successfulannounces, ot_overall_udp_successfulscrapes ); + r += sprintf( r, " \n %llu\n %llu\n %llu\n \n", ot_overall_tcp_connections, ot_overall_tcp_successfulannounces, ot_overall_tcp_successfulscrapes ); r += sprintf( r, " \n %llu\n %llu\n %llu\n %llu\n %llu\n \n", ot_overall_udp_connections, ot_overall_udp_connects, ot_overall_udp_successfulannounces, ot_overall_udp_successfulscrapes, ot_overall_udp_connectionidmissmatches ); r += sprintf( r, " \n %llu\n \n", ot_overall_sync_count ); r += sprintf( r, " \n" ); -- cgit v1.2.3