From ee7137a19601298142572407c2bb180999067d4b Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Fri, 13 Jul 2007 20:18:24 +0000 Subject: [PATCH] expose storage move failure - micah --- libtorrent/src/disk_io_thread.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libtorrent/src/disk_io_thread.cpp b/libtorrent/src/disk_io_thread.cpp index 5398d5ae8..34a83d6c2 100644 --- a/libtorrent/src/disk_io_thread.cpp +++ b/libtorrent/src/disk_io_thread.cpp @@ -216,6 +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 = "move_success"; + } + else + { + j.str = "move_failed"; + } break; case disk_io_job::release_files: j.storage->release_files_impl();