fixed intended behavior for async_move_storage

This commit is contained in:
Arvid Norberg 2007-07-17 08:12:32 +00:00
parent 664abc570b
commit fa37b9f3df
1 changed files with 1 additions and 0 deletions

View File

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