summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trackerlogic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trackerlogic.c b/trackerlogic.c
index 2c0dd4f..3b83b77 100644
--- a/trackerlogic.c
+++ b/trackerlogic.c
@@ -464,7 +464,7 @@ size_t return_stats_for_tracker( char *reply, int mode ) {
464 464
465 if( clean_peerlist( time_now, peer_list ) ) { 465 if( clean_peerlist( time_now, peer_list ) ) {
466 ot_hash *hash =&( ((ot_torrent*)(torrents_list->data))[j] ).hash; 466 ot_hash *hash =&( ((ot_torrent*)(torrents_list->data))[j] ).hash;
467 vector_remove_torrent( torrents_list->data, hash ); 467 vector_remove_torrent( torrents_list, hash );
468 --j; 468 --j;
469 continue; 469 continue;
470 } 470 }