From a73186988fed55d3eae185d9576feb5ab9a36e1f Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Fri, 2 Mar 2007 02:23:03 +0000 Subject: stupid mistake in remove torrent call --- trackerlogic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3