1
0
mirror of git://erdgeist.org/opentracker synced 2025-03-13 06:01:07 +00:00

stupid mistake in remove torrent call

This commit is contained in:
erdgeist 2007-03-02 02:23:03 +00:00
parent 2313de59e5
commit a73186988f

View File

@ -464,7 +464,7 @@ size_t return_stats_for_tracker( char *reply, int mode ) {
if( clean_peerlist( time_now, peer_list ) ) { if( clean_peerlist( time_now, peer_list ) ) {
ot_hash *hash =&( ((ot_torrent*)(torrents_list->data))[j] ).hash; ot_hash *hash =&( ((ot_torrent*)(torrents_list->data))[j] ).hash;
vector_remove_torrent( torrents_list->data, hash ); vector_remove_torrent( torrents_list, hash );
--j; --j;
continue; continue;
} }