aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/nntp/MCNNTPSession.cpp
diff options
context:
space:
mode:
authorGravatar Daryle Walker <dwalker07@yahoo.com>2016-02-25 15:10:40 -0500
committerGravatar Daryle Walker <dwalker07@yahoo.com>2016-02-25 15:10:40 -0500
commit38cae4a0a329da2618c212f545d3d8e10417af72 (patch)
treed2afc5513347158512a2a53159a922ed619f65c0 /src/core/nntp/MCNNTPSession.cpp
parent627cd1cfbde93e2edda6ffe5f37226ea278b0019 (diff)
Replace NNTP "send" with "post".
Diffstat (limited to 'src/core/nntp/MCNNTPSession.cpp')
-rw-r--r--src/core/nntp/MCNNTPSession.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/nntp/MCNNTPSession.cpp b/src/core/nntp/MCNNTPSession.cpp
index c40301a4..e5004432 100644
--- a/src/core/nntp/MCNNTPSession.cpp
+++ b/src/core/nntp/MCNNTPSession.cpp
@@ -622,7 +622,7 @@ Array * NNTPSession::fetchOverArticlesInRange(Range range, String * groupName, E
return result;
}
-void NNTPSession::sendMessage(Data * messageData, NNTPProgressCallback * callback, ErrorCode * pError)
+void NNTPSession::postMessage(Data * messageData, NNTPProgressCallback * callback, ErrorCode * pError)
{
int r;
@@ -665,7 +665,7 @@ err:
mProgressCallback = NULL;
}
-void NNTPSession::sendMessage(String * messagePath, NNTPProgressCallback * callback, ErrorCode * pError)
+void NNTPSession::postMessage(String * messagePath, NNTPProgressCallback * callback, ErrorCode * pError)
{
Data * messageData = Data::dataWithContentsOfFile(messagePath);
if (!messageData) {
@@ -673,7 +673,7 @@ void NNTPSession::sendMessage(String * messagePath, NNTPProgressCallback * callb
return;
}
- return sendMessage(messageData, callback, pError);
+ return postMessage(messageData, callback, pError);
}
static void mmapStringDeallocator(char * bytes, unsigned int length) {