mirror of
git://erdgeist.org/opentracker
synced 2025-01-12 07:50:52 +00:00
need more space for data because we reach this limit easily now
This commit is contained in:
parent
8f0aaed6b2
commit
f3d83559e6
@ -340,7 +340,7 @@ size_t return_memstat_for_tracker( char **reply ) {
|
|||||||
ot_hash *hash =&( ((ot_torrent*)(torrents_list->data))[j] ).hash;
|
ot_hash *hash =&( ((ot_torrent*)(torrents_list->data))[j] ).hash;
|
||||||
r += sprintf( r, "\n%s:\n", to_hex( (ot_byte*)hash ) );
|
r += sprintf( r, "\n%s:\n", to_hex( (ot_byte*)hash ) );
|
||||||
for( k=0; k<OT_POOLS_COUNT; ++k )
|
for( k=0; k<OT_POOLS_COUNT; ++k )
|
||||||
r += sprintf( r, "\t%04X %04X\n", ((unsigned int)peer_list->peers[k].size), (unsigned int)peer_list->peers[k].space );
|
r += sprintf( r, "\t%05X %05X\n", ((unsigned int)peer_list->peers[k].size), (unsigned int)peer_list->peers[k].space );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user