aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/async/nntp/MCNNTPAsyncSession.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/async/nntp/MCNNTPAsyncSession.cpp')
-rw-r--r--src/async/nntp/MCNNTPAsyncSession.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/async/nntp/MCNNTPAsyncSession.cpp b/src/async/nntp/MCNNTPAsyncSession.cpp
index ddd4c804..eeed1244 100644
--- a/src/async/nntp/MCNNTPAsyncSession.cpp
+++ b/src/async/nntp/MCNNTPAsyncSession.cpp
@@ -16,7 +16,7 @@
#include "MCNNTPFetchOverviewOperation.h"
#include "MCNNTPCheckAccountOperation.h"
#include "MCNNTPFetchServerTimeOperation.h"
-#include "MCNNTPSendOperation.h"
+#include "MCNNTPPostOperation.h"
#include "MCNNTPDisconnectOperation.h"
#include "MCOperationQueueCallback.h"
#include "MCConnectionLogger.h"
@@ -237,18 +237,18 @@ NNTPListNewsgroupsOperation * NNTPAsyncSession::listDefaultNewsgroupsOperation()
return op;
}
-NNTPSendOperation * NNTPAsyncSession::sendMessageOperation(Data * messageData)
+NNTPPostOperation * NNTPAsyncSession::postMessageOperation(Data * messageData)
{
- NNTPSendOperation * op = new NNTPSendOperation();
+ NNTPPostOperation * op = new NNTPPostOperation();
op->setSession(this);
op->setMessageData(messageData);
op->autorelease();
return op;
}
-NNTPSendOperation * NNTPAsyncSession::sendMessageOperation(String * filename)
+NNTPPostOperation * NNTPAsyncSession::postMessageOperation(String * filename)
{
- NNTPSendOperation * op = new NNTPSendOperation();
+ NNTPPostOperation * op = new NNTPPostOperation();
op->setSession(this);
op->setMessageFilepath(filename);
op->autorelease();