diff options
Diffstat (limited to 'src/async/nntp/MCNNTPFetchOverviewOperation.cc')
-rw-r--r-- | src/async/nntp/MCNNTPFetchOverviewOperation.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/async/nntp/MCNNTPFetchOverviewOperation.cc b/src/async/nntp/MCNNTPFetchOverviewOperation.cc index 9bd47fba..b05b29e6 100644 --- a/src/async/nntp/MCNNTPFetchOverviewOperation.cc +++ b/src/async/nntp/MCNNTPFetchOverviewOperation.cc @@ -56,12 +56,12 @@ void NNTPFetchOverviewOperation::main() mArticles = Array::array(); for(unsigned int i = 0 ; i < mIndexes->rangesCount() ; i ++) { Range range = mIndexes->allRanges()[i]; + Array * articles = session()->session()->fetchOverArticlesInRange(range, mGroupName, &error); if (error != ErrorNone) { setError(error); - mArticles->removeAllObjects(); return; } - mArticles->addObjectsFromArray(session()->session()->fetchOverArticlesInRange(range, mGroupName, &error)); + mArticles->addObjectsFromArray(articles); } setError(error); |