diff options
Diffstat (limited to 'trackerlogic.c')
-rw-r--r-- | trackerlogic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/trackerlogic.c b/trackerlogic.c index 0c78e16..7d5c16b 100644 --- a/trackerlogic.c +++ b/trackerlogic.c | |||
@@ -321,6 +321,7 @@ size_t return_stats_for_tracker( char *reply ) { | |||
321 | torrent_count += torrents_list->size; | 321 | torrent_count += torrents_list->size; |
322 | for( j=0; j<torrents_list->size; ++j ) { | 322 | for( j=0; j<torrents_list->size; ++j ) { |
323 | ot_peerlist *peer_list = ( ((ot_torrent*)(torrents_list->data))[j] ).peer_list; | 323 | ot_peerlist *peer_list = ( ((ot_torrent*)(torrents_list->data))[j] ).peer_list; |
324 | clean_peerlist( peer_list ); | ||
324 | for( k=0; k<OT_POOLS_COUNT; ++k ) { | 325 | for( k=0; k<OT_POOLS_COUNT; ++k ) { |
325 | peer_count += peer_list->peers[k].size; | 326 | peer_count += peer_list->peers[k].size; |
326 | seed_count += peer_list->seed_count[k]; | 327 | seed_count += peer_list->seed_count[k]; |