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:
parent
2313de59e5
commit
a73186988f
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user