forked from premiere/premiere-libtorrent
fix to test_web_seed
This commit is contained in:
parent
e0bea061b5
commit
b663ab81a6
|
@ -132,7 +132,10 @@ int test_main()
|
|||
using namespace libtorrent;
|
||||
using namespace boost::filesystem;
|
||||
|
||||
try {
|
||||
create_directory("test_torrent");
|
||||
} catch (std::exception&) {}
|
||||
|
||||
char random_data[300000];
|
||||
std::srand(std::time(0));
|
||||
std::generate(random_data, random_data + sizeof(random_data), &std::rand);
|
||||
|
|
Loading…
Reference in New Issue