X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01ba4b6713fd096f5418754d375635237cc08e84..ad02525dadb780a4bacb6482ac633e90a10fe25c:/src/unix/gsocket.cpp diff --git a/src/unix/gsocket.cpp b/src/unix/gsocket.cpp index 6e0292a78b..eeee3fa8cc 100644 --- a/src/unix/gsocket.cpp +++ b/src/unix/gsocket.cpp @@ -587,7 +587,7 @@ void GSocket::Shutdown() /* If socket has been created, shutdown it */ if (m_fd != INVALID_SOCKET) { - shutdown(m_fd, 2); + shutdown(m_fd, 1); Close(); }