fixed bug on windows when verifying resume data for a torrent where one of its directories had been removed

This commit is contained in:
Arvid Norberg 2010-07-24 07:06:45 +00:00
parent 030b2b5be8
commit 7c5ca7712a
2 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,8 @@
incoming connection incoming connection
* added more detailed instrumentation of the disk I/O thread * added more detailed instrumentation of the disk I/O thread
* fixed bug on windows when verifying resume data for a torrent where
one of its directories had been removed
* fixed race condition in peer-list with DHT * fixed race condition in peer-list with DHT
* fix force-reannounce and tracker retry issue * fix force-reannounce and tracker retry issue

View File

@ -2479,6 +2479,7 @@ ret:
{ {
if (m_storage->error() if (m_storage->error()
#ifdef TORRENT_WINDOWS #ifdef TORRENT_WINDOWS
&& m_storage->error() != error_code(ERROR_PATH_NOT_FOUND, get_system_category())
&& m_storage->error() != error_code(ERROR_FILE_NOT_FOUND, get_system_category()) && m_storage->error() != error_code(ERROR_FILE_NOT_FOUND, get_system_category())
&& m_storage->error() != error_code(ERROR_HANDLE_EOF, get_system_category()) && m_storage->error() != error_code(ERROR_HANDLE_EOF, get_system_category())
&& m_storage->error() != error_code(ERROR_INVALID_HANDLE, get_system_category())) && m_storage->error() != error_code(ERROR_INVALID_HANDLE, get_system_category()))