diff options
author | Mattes D <github@xoft.cz> | 2015-01-25 23:12:12 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-01-27 14:53:36 +0100 |
commit | 2557f2867de3517dd800aabe302116f44912ea15 (patch) | |
tree | 62e41cfcdd4da63aad3145302a15fe2f71c16b4b | |
parent | Client: Only decode protocol when there's actual data incoming. (diff) | |
download | cuberite-2557f2867de3517dd800aabe302116f44912ea15.tar cuberite-2557f2867de3517dd800aabe302116f44912ea15.tar.gz cuberite-2557f2867de3517dd800aabe302116f44912ea15.tar.bz2 cuberite-2557f2867de3517dd800aabe302116f44912ea15.tar.lz cuberite-2557f2867de3517dd800aabe302116f44912ea15.tar.xz cuberite-2557f2867de3517dd800aabe302116f44912ea15.tar.zst cuberite-2557f2867de3517dd800aabe302116f44912ea15.zip |
Diffstat (limited to '')
-rw-r--r-- | src/OSSupport/ServerHandleImpl.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/OSSupport/ServerHandleImpl.cpp b/src/OSSupport/ServerHandleImpl.cpp index 2485c8e1b..5244f3fd2 100644 --- a/src/OSSupport/ServerHandleImpl.cpp +++ b/src/OSSupport/ServerHandleImpl.cpp @@ -157,10 +157,6 @@ bool cServerHandleImpl::Listen(UInt16 a_Port) int res = setsockopt(MainSock, IPPROTO_IPV6, IPV6_V6ONLY, reinterpret_cast<const char *>(&Zero), sizeof(Zero)); err = EVUTIL_SOCKET_ERROR(); NeedsTwoSockets = ((res == SOCKET_ERROR) && (err == WSAENOPROTOOPT)); - LOGD("setsockopt(IPV6_V6ONLY) returned %d, err is %d (%s). %s", - res, err, evutil_socket_error_to_string(err), - NeedsTwoSockets ? "Second socket will be created" : "Second socket not needed" - ); #else setsockopt(MainSock, IPPROTO_IPV6, IPV6_V6ONLY, reinterpret_cast<const char *>(&Zero), sizeof(Zero)); #endif |