*** empty log message ***

This commit is contained in:
Arvid Norberg 2005-03-10 11:26:55 +00:00
parent bc77a39f30
commit 727dc803a3
3 changed files with 11 additions and 11 deletions

View File

@ -98,7 +98,7 @@ namespace libtorrent
// this will close all open files that are opened for
// writing. This is called when a torrent has finished
// downloading.
void release();
void release_files();
#ifndef NDEBUG
// overwrites some slots with the
@ -126,7 +126,7 @@ namespace libtorrent
, detail::piece_checker_data& data
, std::vector<bool>& pieces);
void release();
void release_files();
void allocate_slots(int num_slots);
void mark_failed(int index);

View File

@ -287,7 +287,7 @@ namespace libtorrent
assert(info.begin_files() != info.end_files());
}
void storage::release()
void storage::release_files()
{
m_pimpl->files.release();
}
@ -578,7 +578,7 @@ namespace libtorrent
, detail::piece_checker_data& data
, std::vector<bool>& pieces);
void release();
void release_files();
void allocate_slots(int num_slots);
void mark_failed(int index);
@ -695,14 +695,14 @@ namespace libtorrent
{
}
void piece_manager::release()
void piece_manager::release_files()
{
m_pimpl->release();
m_pimpl->release_files();
}
void piece_manager::impl::release()
void piece_manager::impl::release_files()
{
m_storage.release();
m_storage.release_files();
}
void piece_manager::impl::export_piece_map(

View File

@ -514,7 +514,7 @@ namespace libtorrent
// disconnect all peers and close all
// files belonging to the torrent
disconnect_all();
m_storage.release();
m_storage->release_files();
}
void torrent::announce_piece(int index)
@ -706,7 +706,7 @@ namespace libtorrent
i->second->disconnect();
}
m_storage->release();
m_storage->release_files();
// make the next tracker request
// be a completed-event
@ -858,7 +858,7 @@ namespace libtorrent
m_just_paused = true;
// this will make the storage close all
// files and flush all cached data
if (m_storage.get()) m_storage->release();
if (m_storage.get()) m_storage->release_files();
}
void torrent::resume()