summaryrefslogtreecommitdiffstats
path: root/mimelib/nntp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mimelib/nntp.cpp')
-rw-r--r--mimelib/nntp.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/mimelib/nntp.cpp b/mimelib/nntp.cpp
index 56fb5cc9f..a89293ae6 100644
--- a/mimelib/nntp.cpp
+++ b/mimelib/nntp.cpp
@@ -72,7 +72,7 @@ int DwNntpClient::Open(const char* aServer, DwUint16 aPort)
mStatusResponse = mTextResponse = "";
int err = DwProtocolClient::Open(aServer, aPort);
if (! err) {
- PGetStatusResponse();
+ PGeStatusResponse();
}
return mReplyCode;
}
@@ -119,7 +119,7 @@ int DwNntpClient::Article(int aArticleNum)
int bufferLen = strlen(mSendBuffer);
int numSent = PSend(mSendBuffer, bufferLen);
if (numSent == bufferLen) {
- PGetStatusResponse();
+ PGeStatusResponse();
if (mReplyCode/100%10 == 2) {
PGetTextResponse();
}
@@ -144,7 +144,7 @@ int DwNntpClient::Article(const char* aMsgId)
int bufferLen = strlen(mSendBuffer);
int numSent = PSend(mSendBuffer, bufferLen);
if (numSent == bufferLen) {
- PGetStatusResponse();
+ PGeStatusResponse();
if (mReplyCode/100%10 == 2) {
PGetTextResponse();
}
@@ -168,7 +168,7 @@ int DwNntpClient::Head(int aArticleNum)
int bufferLen = strlen(mSendBuffer);
int numSent = PSend(mSendBuffer, bufferLen);
if (numSent == bufferLen) {
- PGetStatusResponse();
+ PGeStatusResponse();
if (mReplyCode/100%10 == 2) {
PGetTextResponse();
}
@@ -192,7 +192,7 @@ int DwNntpClient::Head(const char* aMsgId)
int bufferLen = strlen(mSendBuffer);
int numSent = PSend(mSendBuffer, bufferLen);
if (numSent == bufferLen) {
- PGetStatusResponse();
+ PGeStatusResponse();
if (mReplyCode/100%10 == 2) {
PGetTextResponse();
}
@@ -216,7 +216,7 @@ int DwNntpClient::Body(int articleNum)
int bufferLen = strlen(mSendBuffer);
int numSent = PSend(mSendBuffer, bufferLen);
if (numSent == bufferLen) {
- PGetStatusResponse();
+ PGeStatusResponse();
if (mReplyCode/100%10 == 2) {
PGetTextResponse();
}
@@ -240,7 +240,7 @@ int DwNntpClient::Body(const char* aMsgId)
int bufferLen = strlen(mSendBuffer);
int numSent = PSend(mSendBuffer, bufferLen);
if (numSent == bufferLen) {
- PGetStatusResponse();
+ PGeStatusResponse();
if (mReplyCode/100%10 == 2) {
PGetTextResponse();
}
@@ -264,7 +264,7 @@ int DwNntpClient::Stat(int articleNum)
int bufferLen = strlen(mSendBuffer);
int numSent = PSend(mSendBuffer, bufferLen);
if (numSent == bufferLen) {
- PGetStatusResponse();
+ PGeStatusResponse();
}
return mReplyCode;
}
@@ -285,7 +285,7 @@ int DwNntpClient::Stat(const char* aMsgId)
int bufferLen = strlen(mSendBuffer);
int numSent = PSend(mSendBuffer, bufferLen);
if (numSent == bufferLen) {
- PGetStatusResponse();
+ PGeStatusResponse();
}
return mReplyCode;
}
@@ -306,7 +306,7 @@ int DwNntpClient::Group(const char* aNewsgroupName)
int bufferLen = strlen(mSendBuffer);
int numSent = PSend(mSendBuffer, bufferLen);
if (numSent == bufferLen) {
- PGetStatusResponse();
+ PGeStatusResponse();
}
return mReplyCode;
}
@@ -322,7 +322,7 @@ int DwNntpClient::Help()
int bufferLen = strlen(mSendBuffer);
int numSent = PSend(mSendBuffer, bufferLen);
if (numSent == bufferLen) {
- PGetStatusResponse();
+ PGeStatusResponse();
if (mReplyCode/100%10 == 1) {
PGetTextResponse();
}
@@ -341,7 +341,7 @@ int DwNntpClient::Last()
int bufferLen = strlen(mSendBuffer);
int numSent = PSend(mSendBuffer, bufferLen);
if (numSent == bufferLen) {
- PGetStatusResponse();
+ PGeStatusResponse();
}
return mReplyCode;
}
@@ -357,7 +357,7 @@ int DwNntpClient::List()
int bufferLen = strlen(mSendBuffer);
int numSent = PSend(mSendBuffer, bufferLen);
if (numSent == bufferLen) {
- PGetStatusResponse();
+ PGeStatusResponse();
if (mReplyCode/100%10 == 2) {
PGetTextResponse();
}
@@ -388,7 +388,7 @@ int DwNntpClient::Newgroups(const char* aDate, const char* aTime,
int bufferLen = strlen(mSendBuffer);
int numSent = PSend(mSendBuffer, bufferLen);
if (numSent == bufferLen) {
- PGetStatusResponse();
+ PGeStatusResponse();
if (mReplyCode/100%10 == 2) {
PGetTextResponse();
}
@@ -421,7 +421,7 @@ int DwNntpClient::Newnews(const char* aNewsgroups, const char* aDate,
int bufferLen = strlen(mSendBuffer);
int numSent = PSend(mSendBuffer, bufferLen);
if (numSent == bufferLen) {
- PGetStatusResponse();
+ PGeStatusResponse();
if (mReplyCode/100%10 == 2) {
PGetTextResponse();
}
@@ -440,7 +440,7 @@ int DwNntpClient::Next()
int bufferLen = strlen(mSendBuffer);
int numSent = PSend(mSendBuffer, bufferLen);
if (numSent == bufferLen) {
- PGetStatusResponse();
+ PGeStatusResponse();
}
return mReplyCode;
}
@@ -456,7 +456,7 @@ int DwNntpClient::Post()
int bufferLen = strlen(mSendBuffer);
int numSent = PSend(mSendBuffer, bufferLen);
if (numSent == bufferLen) {
- PGetStatusResponse();
+ PGeStatusResponse();
}
return mReplyCode;
}
@@ -472,7 +472,7 @@ int DwNntpClient::Quit()
int bufferLen = strlen(mSendBuffer);
int numSent = PSend(mSendBuffer, bufferLen);
if (numSent == bufferLen) {
- PGetStatusResponse();
+ PGeStatusResponse();
}
return mReplyCode;
}
@@ -488,7 +488,7 @@ int DwNntpClient::Slave()
int bufferLen = strlen(mSendBuffer);
int numSent = PSend(mSendBuffer, bufferLen);
if (numSent == bufferLen) {
- PGetStatusResponse();
+ PGeStatusResponse();
}
return mReplyCode;
}
@@ -592,12 +592,12 @@ int DwNntpClient::SendData(const char* aBuf, int aBufLen)
// Get the server's response
- PGetStatusResponse();
+ PGeStatusResponse();
return mReplyCode;
}
-void DwNntpClient::PGetStatusResponse()
+void DwNntpClient::PGeStatusResponse()
{
mReplyCode = 0;
mStatusResponse = "";