summaryrefslogtreecommitdiffstats
path: root/mimelib/nntp.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /mimelib/nntp.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 = "";