aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/async
diff options
context:
space:
mode:
authorGravatar Robert Widmann <devteam.codafi@gmail.com>2014-10-21 15:45:59 -0600
committerGravatar Robert Widmann <devteam.codafi@gmail.com>2014-10-21 15:45:59 -0600
commitf60b89b388389ee877e907819442b2e366238040 (patch)
tree01402421d202387e011acb5f53b9e6e05a6c0aeb /src/async
parent5380d0d5b11eef9a6fb5ac4ba70cb1b27737562e (diff)
Range Fetching
Diffstat (limited to 'src/async')
-rw-r--r--src/async/nntp/MCNNTPAsyncSession.cc2
-rw-r--r--src/async/nntp/MCNNTPAsyncSession.h2
-rw-r--r--src/async/nntp/MCNNTPFetchArticlesOperation.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/async/nntp/MCNNTPAsyncSession.cc b/src/async/nntp/MCNNTPAsyncSession.cc
index 833bf4d5..40993567 100644
--- a/src/async/nntp/MCNNTPAsyncSession.cc
+++ b/src/async/nntp/MCNNTPAsyncSession.cc
@@ -153,7 +153,7 @@ bool NNTPAsyncSession::isCheckCertificateEnabled()
return mSession->isCheckCertificateEnabled();
}
-MCNNTPFetchArticlesOperation * NNTPAsyncSession::fetchArticlesOperation(String * group)
+MCNNTPFetchArticlesOperation * NNTPAsyncSession::fetchAllArticlesOperation(String * group)
{
MCNNTPFetchArticlesOperation * op = new MCNNTPFetchArticlesOperation();
op->setSession(this);
diff --git a/src/async/nntp/MCNNTPAsyncSession.h b/src/async/nntp/MCNNTPAsyncSession.h
index 66f0cc0d..c0d93fb2 100644
--- a/src/async/nntp/MCNNTPAsyncSession.h
+++ b/src/async/nntp/MCNNTPAsyncSession.h
@@ -51,7 +51,7 @@ namespace mailcore {
virtual dispatch_queue_t dispatchQueue();
#endif
- virtual MCNNTPFetchArticlesOperation * fetchArticlesOperation(String * group);
+ virtual MCNNTPFetchArticlesOperation * fetchAllArticlesOperation(String * group);
virtual NNTPFetchHeaderOperation * fetchHeaderOperation(String * groupName, unsigned int index);
diff --git a/src/async/nntp/MCNNTPFetchArticlesOperation.cc b/src/async/nntp/MCNNTPFetchArticlesOperation.cc
index 39446f35..ddca9f13 100644
--- a/src/async/nntp/MCNNTPFetchArticlesOperation.cc
+++ b/src/async/nntp/MCNNTPFetchArticlesOperation.cc
@@ -43,7 +43,7 @@ IndexSet * MCNNTPFetchArticlesOperation::articles()
void MCNNTPFetchArticlesOperation::main()
{
ErrorCode error;
- mArticles = session()->session()->fetchArticles(mGroupName, &error);
+ mArticles = session()->session()->fetchAllArticles(mGroupName, &error);
setError(error);
MC_SAFE_RETAIN(mArticles);
}