From 7eef1a418e12cbcd33ca55249726ef123186e04a Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Tue, 17 Jul 2007 08:15:55 +0000 Subject: [PATCH] fix move_storage behavior --- libtorrent/src/disk_io_thread.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/libtorrent/src/disk_io_thread.cpp b/libtorrent/src/disk_io_thread.cpp index 34a83d6c2..8cc6cfe6d 100644 --- a/libtorrent/src/disk_io_thread.cpp +++ b/libtorrent/src/disk_io_thread.cpp @@ -216,14 +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 = "move_success"; - } - else - { - j.str = "move_failed"; - } + if (ret) j.str = j.storage->save_path().string(); break; case disk_io_job::release_files: j.storage->release_files_impl();