*** empty log message ***

This commit is contained in:
Arvid Norberg 2004-10-18 10:36:47 +00:00
parent e9ef2b56a5
commit 40a88434b1
2 changed files with 6 additions and 4 deletions

View File

@ -195,6 +195,7 @@ namespace libtorrent
, info(info)
{
save_path = complete(path);
assert(save_path.is_complete());
}
impl(impl const& x)
@ -591,12 +592,13 @@ namespace libtorrent
piece_manager::impl::impl(
const torrent_info& info
, const path& save_path)
, const path& save_path)
: m_storage(info, save_path)
, m_info(info)
, m_allocating(false)
, m_save_path(complete(save_path));
{
m_save_path = complete(save_path);
assert(m_save_path.is_complete());
}
piece_manager::piece_manager(

View File

@ -176,7 +176,7 @@ namespace libtorrent
, m_net_interface(net_interface.ip(), address::any_port)
, m_upload_bandwidth_limit(std::numeric_limits<int>::max())
, m_download_bandwidth_limit(std::numeric_limits<int>::max())
, m_save_path(save_path)
, m_save_path(complete(save_path))
{
m_policy.reset(new policy(this));
bencode(std::back_inserter(m_metadata), metadata["info"]);
@ -213,7 +213,7 @@ namespace libtorrent
, m_net_interface(net_interface.ip(), address::any_port)
, m_upload_bandwidth_limit(std::numeric_limits<int>::max())
, m_download_bandwidth_limit(std::numeric_limits<int>::max())
, m_save_path(save_path)
, m_save_path(complete(save_path))
{
m_trackers.push_back(announce_entry(tracker_url));
m_requested_metadata.resize(256, 0);