From 48a171563b81e5054f77c4dfdf0a8af33cc97c4d Mon Sep 17 00:00:00 2001 From: upstream svn Date: Tue, 8 Mar 2011 18:14:16 +0000 Subject: [PATCH] Missing SetStatus - or was it missing for a reason here? --- .svn-revision | 2 +- src/PartFile.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.svn-revision b/.svn-revision index 53d4c716..9192a0f0 100644 --- a/.svn-revision +++ b/.svn-revision @@ -1 +1 @@ -10480 +10481 diff --git a/src/PartFile.cpp b/src/PartFile.cpp index fb42de6d..5ba0ebf7 100644 --- a/src/PartFile.cpp +++ b/src/PartFile.cpp @@ -2310,6 +2310,7 @@ bool CPartFile::HashSinglePart(uint16 partnumber) } catch (const CEOFException& e) { AddLogLineC(CFormat( _("EOF while hashing downloaded part %u with length %u (max %u) of partfile '%s' with length %u: %s")) % partnumber % length % (offset+length) % GetFileName() % GetFileSize() % e.what()); + SetStatus(PS_ERROR); return false; } -- 2.11.4.GIT