summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/Socket.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-16 21:08:17 +0100
committermadmaxoft <github@xoft.cz>2014-01-16 21:08:17 +0100
commit4da88182912e9e4cf2bc2532309943b9c3c018f9 (patch)
tree93a176dce81df4ebe7024a449ac79dc1f6b3806c /src/OSSupport/Socket.cpp
parentProtocol 1.7: Unknown packets are dumped to log in Debug mode. (diff)
downloadcuberite-4da88182912e9e4cf2bc2532309943b9c3c018f9.tar
cuberite-4da88182912e9e4cf2bc2532309943b9c3c018f9.tar.gz
cuberite-4da88182912e9e4cf2bc2532309943b9c3c018f9.tar.bz2
cuberite-4da88182912e9e4cf2bc2532309943b9c3c018f9.tar.lz
cuberite-4da88182912e9e4cf2bc2532309943b9c3c018f9.tar.xz
cuberite-4da88182912e9e4cf2bc2532309943b9c3c018f9.tar.zst
cuberite-4da88182912e9e4cf2bc2532309943b9c3c018f9.zip
Diffstat (limited to 'src/OSSupport/Socket.cpp')
-rw-r--r--src/OSSupport/Socket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OSSupport/Socket.cpp b/src/OSSupport/Socket.cpp
index d511e5487..8ea5d8320 100644
--- a/src/OSSupport/Socket.cpp
+++ b/src/OSSupport/Socket.cpp
@@ -364,7 +364,7 @@ int cSocket::Receive(char* a_Buffer, unsigned int a_Length, unsigned int a_Flags
int cSocket::Send(const char * a_Buffer, unsigned int a_Length)
{
- return send(m_Socket, a_Buffer, a_Length, 0);
+ return send(m_Socket, a_Buffer, a_Length, MSG_NOSIGNAL);
}