summaryrefslogtreecommitdiffstats
path: root/mimelib
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-30 12:22:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-30 12:22:48 -0600
commit445f21f4e51534ebd9897190f1cff9f55b22ff9a (patch)
tree6188662f615665499c2cf09a11f832b1f45d28ca /mimelib
parent80bc593eb31b3162fd870ee64eceb0ec90fac15c (diff)
downloadtdepim-445f21f4e51534ebd9897190f1cff9f55b22ff9a.tar.gz
tdepim-445f21f4e51534ebd9897190f1cff9f55b22ff9a.zip
Rename ksocket and kcache
Diffstat (limited to 'mimelib')
-rw-r--r--mimelib/doc/protocol.html2
-rw-r--r--mimelib/mimelib/protocol.h2
-rw-r--r--mimelib/protocol.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/mimelib/doc/protocol.html b/mimelib/doc/protocol.html
index 28bb81db6..75830673d 100644
--- a/mimelib/doc/protocol.html
+++ b/mimelib/doc/protocol.html
@@ -64,7 +64,7 @@ protected:
enum {
kWSAStartup=1, // Win32
kgethostbyname,
- ksocket,
+ tdesocket,
ksetsockopt,
kconnect,
ksend,
diff --git a/mimelib/mimelib/protocol.h b/mimelib/mimelib/protocol.h
index 32186a82b..768022310 100644
--- a/mimelib/mimelib/protocol.h
+++ b/mimelib/mimelib/protocol.h
@@ -216,7 +216,7 @@ protected:
enum {
kWSAStartup=1, // Win32
kgethostbyname,
- ksocket,
+ tdesocket,
ksetsockopt,
kconnect,
ksend,
diff --git a/mimelib/protocol.cpp b/mimelib/protocol.cpp
index b0685aa72..695b61380 100644
--- a/mimelib/protocol.cpp
+++ b/mimelib/protocol.cpp
@@ -127,7 +127,7 @@ int DwProtocolClient::Open(const char* aServer, DwUint16 aPort)
if (mSocket == -1) {
// error!
int err = errno;
- HandleError(err, ksocket);
+ HandleError(err, tdesocket);
return -1;
}
@@ -358,7 +358,7 @@ void DwProtocolClient::HandleError(int aErrorCode, int aSystemCall)
mErrorCode = aErrorCode;
mErrorStr = get_error_text(mErrorCode);
switch (aSystemCall) {
- case ksocket:
+ case tdesocket:
switch (mErrorCode) {
case EMFILE:
case ENFILE: