made client test use the default file storage

This commit is contained in:
Arvid Norberg 2008-02-17 20:31:02 +00:00
parent 9a7e26b280
commit 4f6c77e1d5
1 changed files with 2 additions and 2 deletions

View File

@ -471,7 +471,7 @@ void add_torrent(libtorrent::session& ses
torrent_handle h = ses.add_torrent(t, save_path, resume_data
, compact_mode ? storage_mode_compact : storage_mode_sparse, false
, mapped_storage_constructor);
); //, mapped_storage_constructor);
handles.insert(std::make_pair(
monitored_dir?std::string(torrent):std::string(), h));
@ -872,7 +872,7 @@ int main(int ac, char* av[])
torrent_handle h = ses.add_torrent(std::string(what[2]).c_str()
, info_hash, 0, save_path, entry(), compact_allocation_mode ? storage_mode_compact
: storage_mode_sparse, false, mapped_storage_constructor);
: storage_mode_sparse, false); // , mapped_storage_constructor);
handles.insert(std::make_pair(std::string(), h));
h.set_max_connections(50);