summaryrefslogtreecommitdiff
path: root/trackerlogic.c
diff options
context:
space:
mode:
authordenis <>2007-02-02 23:39:36 +0000
committerdenis <>2007-02-02 23:39:36 +0000
commitd451d32b41f9168f88cb9d41911d2e9a99009d7a (patch)
tree94ab8ae2cad368bd755f2d55c74732ffa8e88ea5 /trackerlogic.c
parent153b5de835c2523271e63694ce5333a40d2c7ab4 (diff)
made the output of the memdebug smaller
Diffstat (limited to 'trackerlogic.c')
-rw-r--r--trackerlogic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trackerlogic.c b/trackerlogic.c
index 81db51d..7af9d5c 100644
--- a/trackerlogic.c
+++ b/trackerlogic.c
@@ -349,7 +349,7 @@ size_t return_memstat_for_tracker( char **reply ) {
349 if( !( r = *reply = malloc( 256*32 + (43+OT_POOLS_COUNT*32)*torrent_count ) ) ) return 0; 349 if( !( r = *reply = malloc( 256*32 + (43+OT_POOLS_COUNT*32)*torrent_count ) ) ) return 0;
350 350
351 for( i=0; i<256; ++i ) 351 for( i=0; i<256; ++i )
352 r += sprintf( r, "%02X: %08X %08X\n", i, (ot_dword)all_torrents[i].size, (ot_dword)all_torrents[i].space ); 352 r += sprintf( r, "%02X: %04X %04X\n", i, (ot_dword)all_torrents[i].size, (ot_dword)all_torrents[i].space );
353 353
354 for( i=0; i<256; ++i ) { 354 for( i=0; i<256; ++i ) {
355 ot_vector *torrents_list = &all_torrents[i]; 355 ot_vector *torrents_list = &all_torrents[i];