client test storage allocation mode fix

This commit is contained in:
Arvid Norberg 2008-06-22 23:09:38 +00:00
parent 402da3c77c
commit a0517fc3cb
1 changed files with 2 additions and 2 deletions

View File

@ -957,8 +957,8 @@ int main(int ac, char* av[])
} }
// if it's a torrent file, open it as usual // if it's a torrent file, open it as usual
add_torrent(ses, handles, i->c_str(), preferred_ratio add_torrent(ses, handles, i->c_str(), preferred_ratio
, compact_allocation_mode ? storage_mode_compact : storage_mode_sparse , compact_allocation_mode, save_path, false
, save_path, false, torrent_upload_limit, torrent_download_limit); , torrent_upload_limit, torrent_download_limit);
} }
catch (std::exception& e) catch (std::exception& e)
{ {