diff --git a/examples/client_test.cpp b/examples/client_test.cpp index 6a42301b2..18cb0275e 100644 --- a/examples/client_test.cpp +++ b/examples/client_test.cpp @@ -957,8 +957,8 @@ int main(int ac, char* av[]) } // if it's a torrent file, open it as usual add_torrent(ses, handles, i->c_str(), preferred_ratio - , compact_allocation_mode ? storage_mode_compact : storage_mode_sparse - , save_path, false, torrent_upload_limit, torrent_download_limit); + , compact_allocation_mode, save_path, false + , torrent_upload_limit, torrent_download_limit); } catch (std::exception& e) {