]> git.ipfire.org Git - thirdparty/opentracker.git/commitdiff
stupid mistake in remove torrent call
authorerdgeist <>
Fri, 2 Mar 2007 02:23:03 +0000 (02:23 +0000)
committererdgeist <>
Fri, 2 Mar 2007 02:23:03 +0000 (02:23 +0000)
trackerlogic.c

index 2c0dd4fae23e780cfd0b6860a974fce4d05f467b..3b83b77c901311b3e87d6e78b83bd730d5778201 100644 (file)
@@ -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;
       }