forked from premiere/premiere-libtorrent
fixed test_storage
This commit is contained in:
parent
ddc9511bbb
commit
bd0a997854
|
@ -94,8 +94,9 @@ void run_storage_tests(boost::intrusive_ptr<torrent_info> info
|
||||||
|
|
||||||
std::vector<bool> pieces;
|
std::vector<bool> pieces;
|
||||||
num_pieces = 0;
|
num_pieces = 0;
|
||||||
|
std::string error_msg;
|
||||||
TEST_CHECK(pm->check_fastresume(d, pieces, num_pieces
|
TEST_CHECK(pm->check_fastresume(d, pieces, num_pieces
|
||||||
, storage_mode) == false);
|
, storage_mode, error_msg) == false);
|
||||||
bool finished = false;
|
bool finished = false;
|
||||||
float progress;
|
float progress;
|
||||||
num_pieces = 0;
|
num_pieces = 0;
|
||||||
|
|
Loading…
Reference in New Issue