From 3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Sun, 12 Oct 2008 10:05:28 +0000 Subject: Fixed compilation warnings. --- src/platforms/windows/windowsSocket.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/platforms/windows/windowsSocket.cpp') 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); -- cgit v1.2.3