From fa37b9f3df9f081ea9b9baca96d4c7d6fa5a4c5b Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 17 Jul 2007 08:12:32 +0000 Subject: [PATCH] fixed intended behavior for async_move_storage --- src/disk_io_thread.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/disk_io_thread.cpp b/src/disk_io_thread.cpp index 5398d5ae8..8cc6cfe6d 100644 --- a/src/disk_io_thread.cpp +++ b/src/disk_io_thread.cpp @@ -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();