summaryrefslogtreecommitdiffstats
path: root/src/OSSupport
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-13 20:54:58 +0100
committermadmaxoft <github@xoft.cz>2014-01-13 20:54:58 +0100
commit5407cec41c6331f985d02dc1800a43065f60080c (patch)
tree7e9cc6ca3e099ef1bdc4189cdc5bb5c35d4b5996 /src/OSSupport
parentAdded handshake processing to protocol 1.7. (diff)
downloadcuberite-5407cec41c6331f985d02dc1800a43065f60080c.tar
cuberite-5407cec41c6331f985d02dc1800a43065f60080c.tar.gz
cuberite-5407cec41c6331f985d02dc1800a43065f60080c.tar.bz2
cuberite-5407cec41c6331f985d02dc1800a43065f60080c.tar.lz
cuberite-5407cec41c6331f985d02dc1800a43065f60080c.tar.xz
cuberite-5407cec41c6331f985d02dc1800a43065f60080c.tar.zst
cuberite-5407cec41c6331f985d02dc1800a43065f60080c.zip
Diffstat (limited to 'src/OSSupport')
-rw-r--r--src/OSSupport/Socket.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/OSSupport/Socket.cpp b/src/OSSupport/Socket.cpp
index f25f800c2..d511e5487 100644
--- a/src/OSSupport/Socket.cpp
+++ b/src/OSSupport/Socket.cpp
@@ -72,10 +72,6 @@ void cSocket::CloseSocket()
#else // _WIN32
- if (shutdown(m_Socket, SHUT_RDWR) != 0)//SD_BOTH);
- {
- LOGWARN("Error on shutting down socket %d (%s): %s", m_Socket, m_IPString.c_str(), GetLastErrorString().c_str());
- }
if (close(m_Socket) != 0)
{
LOGWARN("Error closing socket %d (%s): %s", m_Socket, m_IPString.c_str(), GetLastErrorString().c_str());