merged sparse file fix from RC_0_16

This commit is contained in:
Arvid Norberg
2013-02-16 08:26:55 +00:00
parent 5133fec4ca
commit e45c71dd30
10 changed files with 146 additions and 65 deletions

View File

@@ -84,7 +84,9 @@ void test_transfer(boost::intrusive_ptr<torrent_info> torrent_file
p.flags &= ~add_torrent_params::flag_auto_managed;
p.ti = torrent_file;
p.save_path = "tmp2_web_seed";
#ifndef TORRENT_NO_DEPRECATE
p.storage_mode = storage_mode_compact;
#endif
torrent_handle th = ses.add_torrent(p, ec);
std::vector<announce_entry> empty;