forked from premiere/premiere-libtorrent
fix test_checking
This commit is contained in:
parent
f6b3d43565
commit
22f054e2ff
|
@ -179,7 +179,7 @@ void test_checking(int flags = read_only_files)
|
||||||
{
|
{
|
||||||
TEST_CHECK(!st.is_seeding);
|
TEST_CHECK(!st.is_seeding);
|
||||||
|
|
||||||
if (read_only_files)
|
if (flags & read_only_files)
|
||||||
{
|
{
|
||||||
// we expect our checking of the files to trigger
|
// we expect our checking of the files to trigger
|
||||||
// attempts to truncate them, since the files are
|
// attempts to truncate them, since the files are
|
||||||
|
|
Loading…
Reference in New Issue