From 2ef85f46dba684d36d020ac7127e786440ac531c Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Tue, 17 Jul 2007 08:31:34 +0000 Subject: [PATCH] revert 1010 --- libtorrent/src/disk_io_thread.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libtorrent/src/disk_io_thread.cpp b/libtorrent/src/disk_io_thread.cpp index 8cc6cfe6d..34a83d6c2 100644 --- a/libtorrent/src/disk_io_thread.cpp +++ b/libtorrent/src/disk_io_thread.cpp @@ -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();