From 1022ba45fcb9d289391c099f2b2e1551a9f68282 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 29 Nov 2008 21:38:34 +0000 Subject: [PATCH] fixed bug in disk IO thread which would make it sometimes0 exit the thread if an error occurred --- src/disk_io_thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/disk_io_thread.cpp b/src/disk_io_thread.cpp index fde7ac9bc..191baff3e 100644 --- a/src/disk_io_thread.cpp +++ b/src/disk_io_thread.cpp @@ -858,7 +858,7 @@ namespace libtorrent if (test_error(j)) { ret = -1; - return; + break; } #ifdef TORRENT_DISK_STATS m_log << log_time() << " read " << j.buffer_size << std::endl;