summaryrefslogtreecommitdiffstats
path: root/mimelib
diff options
context:
space:
mode:
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: