diff options
author | Vincent Richard <[email protected]> | 2008-10-12 10:05:28 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2008-10-12 10:05:28 +0000 |
commit | 3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d (patch) | |
tree | 1968196db0d6ae27fd70d0732ff3defed0efb61f /src/platforms/windows/windowsSocket.cpp | |
parent | Encode '?' characters to avoid breaking QP encoding (Zarafa). (diff) | |
download | vmime-3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d.tar.gz vmime-3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d.zip |
Fixed compilation warnings.
Diffstat (limited to 'src/platforms/windows/windowsSocket.cpp')
-rw-r--r-- | src/platforms/windows/windowsSocket.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platforms/windows/windowsSocket.cpp b/src/platforms/windows/windowsSocket.cpp index feb4dda4..9450efc6 100644 --- a/src/platforms/windows/windowsSocket.cpp +++ b/src/platforms/windows/windowsSocket.cpp @@ -103,7 +103,7 @@ void windowsSocket::connect(const vmime::string& address, const vmime::port_t po } -const bool windowsSocket::isConnected() const +bool windowsSocket::isConnected() const { return (m_desc != -1); } @@ -137,7 +137,7 @@ void windowsSocket::receive(vmime::string& buffer) } -const int windowsSocket::receiveRaw(char* buffer, const int count) +int windowsSocket::receiveRaw(char* buffer, const int count) { int ret = ::recv(m_desc, buffer, count, 0); |