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 ) { if( clean_peerlist( time_now, peer_list ) ) { ot_hash *hash =&( ((ot_torrent*)(torrents_list->data))[j] ).hash; - vector_remove_torrent( torrents_list->data, hash ); + vector_remove_torrent( torrents_list, hash ); --j; continue; }