expose storage move failure - micah
This commit is contained in:
parent
9e80e91ae9
commit
ee7137a196
|
@ -216,6 +216,14 @@ namespace libtorrent
|
||||||
break;
|
break;
|
||||||
case disk_io_job::move_storage:
|
case disk_io_job::move_storage:
|
||||||
ret = j.storage->move_storage_impl(j.str) ? 1 : 0;
|
ret = j.storage->move_storage_impl(j.str) ? 1 : 0;
|
||||||
|
if(ret)
|
||||||
|
{
|
||||||
|
j.str = "move_success";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
j.str = "move_failed";
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case disk_io_job::release_files:
|
case disk_io_job::release_files:
|
||||||
j.storage->release_files_impl();
|
j.storage->release_files_impl();
|
||||||
|
|
Loading…
Reference in New Issue