fix trunk build and tests build without exceptions

This commit is contained in:
Arvid Norberg
2009-12-16 10:42:34 +00:00
parent 96cedc9b5f
commit 2055426c52
7 changed files with 54 additions and 21 deletions

View File

@@ -78,7 +78,11 @@ void test_transfer(boost::intrusive_ptr<torrent_info> torrent_file, int proxy)
ses.set_web_seed_proxy(ps);
}
torrent_handle th = ses.add_torrent(*torrent_file, "./tmp2_web_seed", ec);
add_torrent_params p;
p.ti = torrent_file;
p.save_path = "./tmp2_web_seed";
p.storage_mode = storage_mode_compact;
torrent_handle th = ses.add_torrent(p, ec);
std::vector<announce_entry> empty;
th.replace_trackers(empty);