revert 1010

This commit is contained in:
Marcos Pinto 2007-07-17 08:31:34 +00:00
parent 7eef1a418e
commit 2ef85f46db
1 changed files with 8 additions and 1 deletions

View File

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