revert 1010
This commit is contained in:
parent
7eef1a418e
commit
2ef85f46db
|
@ -216,7 +216,14 @@ namespace libtorrent
|
|||
break;
|
||||
case disk_io_job::move_storage:
|
||||
ret = j.storage->move_storage_impl(j.str) ? 1 : 0;
|
||||
if (ret) j.str = j.storage->save_path().string();
|
||||
if(ret)
|
||||
{
|
||||
j.str = "move_success";
|
||||
}
|
||||
else
|
||||
{
|
||||
j.str = "move_failed";
|
||||
}
|
||||
break;
|
||||
case disk_io_job::release_files:
|
||||
j.storage->release_files_impl();
|
||||
|
|
Loading…
Reference in New Issue