From 1b9602193609e5771a7dc66f5fdfb447e48eb258 Mon Sep 17 00:00:00 2001 From: upstream svn Date: Sun, 2 Aug 2009 21:54:35 +0200 Subject: [PATCH] Upstream tarball 9743 --- .svn-revision | 2 +- src/DownloadQueue.cpp | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.svn-revision b/.svn-revision index 9e976bc0..493ed399 100644 --- a/.svn-revision +++ b/.svn-revision @@ -1 +1 @@ -9742 +9743 diff --git a/src/DownloadQueue.cpp b/src/DownloadQueue.cpp index b2204613..b682cc0b 100644 --- a/src/DownloadQueue.cpp +++ b/src/DownloadQueue.cpp @@ -572,13 +572,7 @@ void CDownloadQueue::CheckAndAddSource(CPartFile* sender, CUpDownClient* source) } else { // Source was known, but reqfile NULL. source->SetRequestFile( sender ); - if (source->GetSourceFrom() != nSourceFrom) { - if (source->GetSourceFrom() != SF_NONE) { - theStats::RemoveSourceOrigin(source->GetSourceFrom()); - theStats::RemoveFoundSource(); - } - source->SetSourceFrom(nSourceFrom); - } + source->SetSourceFrom(nSourceFrom); sender->AddSource( source ); if ( source->GetFileRating() || !source->GetFileComment().IsEmpty() ) { sender->UpdateFileRatingCommentAvail(); -- 2.11.4.GIT