From 445f21f4e51534ebd9897190f1cff9f55b22ff9a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 30 Jan 2012 12:22:48 -0600 Subject: Rename ksocket and kcache --- mimelib/doc/protocol.html | 2 +- mimelib/mimelib/protocol.h | 2 +- mimelib/protocol.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'mimelib') 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: -- cgit v1.2.1