mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
expose storage move failure - micah
This commit is contained in:
parent
9e80e91ae9
commit
ee7137a196
1 changed files with 8 additions and 0 deletions
|
@ -216,6 +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 = "move_success";
|
||||
}
|
||||
else
|
||||
{
|
||||
j.str = "move_failed";
|
||||
}
|
||||
break;
|
||||
case disk_io_job::release_files:
|
||||
j.storage->release_files_impl();
|
||||
|
|
Loading…
Add table
Reference in a new issue