From 4f6c77e1d542d821a2dbe11b3a0edff7c1265a98 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 17 Feb 2008 20:31:02 +0000 Subject: [PATCH] made client test use the default file storage --- examples/client_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/client_test.cpp b/examples/client_test.cpp index f962f823d..2d11596de 100644 --- a/examples/client_test.cpp +++ b/examples/client_test.cpp @@ -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);