From bd6695bded3fde2b532191a513e2221b3f655767 Mon Sep 17 00:00:00 2001
From: erdgeist <>
Date: Wed, 18 Mar 2009 02:33:47 +0000
Subject: [PATCH] Fix XML syntax
---
ot_stats.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ot_stats.c b/ot_stats.c
index 6116c41..a3cce63 100644
--- a/ot_stats.c
+++ b/ot_stats.c
@@ -452,9 +452,9 @@ static size_t stats_return_everything( char * reply ) {
iterate_all_torrents( torrent_statter, (uintptr_t)&stats );
- r += sprintf( r, "" );
- r += sprintf( r, "\n" ); r += stats_return_tracker_version( r ); r += sprintf( r, "\n" );
+ r += sprintf( r, "\n" );
r += sprintf( r, "\n" );
+ r += sprintf( r, " \n" ); r += stats_return_tracker_version( r ); r += sprintf( r, " \n" );
r += sprintf( r, " %llu\n", (unsigned long long)(time( NULL ) - ot_start_time) );
r += sprintf( r, " \n" );
r += sprintf( r, " %zd\n", mutex_get_torrent_count() );
@@ -464,7 +464,7 @@ static size_t stats_return_everything( char * reply ) {
r += sprintf( r, " \n %llu\n \n", stats.seed_count );
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 %llu\n \n", ot_overall_udp_connections, ot_overall_udp_connects, ot_overall_udp_successfulannounces, ot_overall_udp_successfulscrapes );
+ r += sprintf( r, " \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 );
r += sprintf( r, " \n %llu\n \n", ot_overall_sync_count );
r += sprintf( r, " \n" );
r += sprintf( r, " \n" );