From b28621f839fe5091d88b0e07e75dc1e13e5dc6ee Mon Sep 17 00:00:00 2001 From: rakshasa Date: Thu, 3 Nov 2005 16:26:08 +0000 Subject: [PATCH] * Dynamically changes the throttle interval depending on the current rate and chunk size. * Changed torrent::download_remove to take a torrent::Download, rather than the info hash. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@592 e378c898-3ddf-0310-93e7-cc216c733640 --- src/core/download_list.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/download_list.cc b/src/core/download_list.cc index bb62b299..933f9ad6 100644 --- a/src/core/download_list.cc +++ b/src/core/download_list.cc @@ -64,7 +64,7 @@ DownloadList::iterator DownloadList::erase(iterator itr) { m_slotMapErase.for_each(*itr); - torrent::download_remove((*itr)->get_hash()); + torrent::download_remove((*itr)->get_download()); (*itr)->release_download(); delete *itr;