fixed intended behavior for async_move_storage (2nd attempt)

This commit is contained in:
Arvid Norberg 2007-07-17 08:33:14 +00:00
parent fa37b9f3df
commit bde5a9be0a
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ 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 = j.storage->save_path().string(); j.str = j.storage->save_path().string();
break; break;
case disk_io_job::release_files: case disk_io_job::release_files:
j.storage->release_files_impl(); j.storage->release_files_impl();