expose storage move failure - micah

This commit is contained in:
Marcos Pinto 2007-07-13 20:18:24 +00:00
parent 9e80e91ae9
commit ee7137a196
1 changed files with 8 additions and 0 deletions

View File

@ -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();