diff options
author | Mattes D <github@xoft.cz> | 2015-04-21 12:11:44 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-04-21 12:11:44 +0200 |
commit | 7ef9dea0152ed8e8aba1bb75e682b9961ec8a6e5 (patch) | |
tree | 486ca2f98d1b18c23523d8ab17927533a0e5dacb /src/OSSupport | |
parent | Merge pull request #1881 from mc-server/UrlInHttpRequest (diff) | |
download | cuberite-7ef9dea0152ed8e8aba1bb75e682b9961ec8a6e5.tar cuberite-7ef9dea0152ed8e8aba1bb75e682b9961ec8a6e5.tar.gz cuberite-7ef9dea0152ed8e8aba1bb75e682b9961ec8a6e5.tar.bz2 cuberite-7ef9dea0152ed8e8aba1bb75e682b9961ec8a6e5.tar.lz cuberite-7ef9dea0152ed8e8aba1bb75e682b9961ec8a6e5.tar.xz cuberite-7ef9dea0152ed8e8aba1bb75e682b9961ec8a6e5.tar.zst cuberite-7ef9dea0152ed8e8aba1bb75e682b9961ec8a6e5.zip |
Diffstat (limited to 'src/OSSupport')
-rw-r--r-- | src/OSSupport/TCPLinkImpl.cpp | 6 | ||||
-rw-r--r-- | src/OSSupport/UDPEndpointImpl.cpp | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/src/OSSupport/TCPLinkImpl.cpp b/src/OSSupport/TCPLinkImpl.cpp index c6f1978ad..ae6ba04f1 100644 --- a/src/OSSupport/TCPLinkImpl.cpp +++ b/src/OSSupport/TCPLinkImpl.cpp @@ -23,7 +23,6 @@ cTCPLinkImpl::cTCPLinkImpl(cTCPLink::cCallbacksPtr a_LinkCallbacks): m_RemotePort(0), m_ShouldShutdown(false) { - LOGD("Created new cTCPLinkImpl at %p with BufferEvent at %p", this, m_BufferEvent); } @@ -38,8 +37,6 @@ cTCPLinkImpl::cTCPLinkImpl(evutil_socket_t a_Socket, cTCPLink::cCallbacksPtr a_L m_RemotePort(0), m_ShouldShutdown(false) { - LOGD("Created new cTCPLinkImpl at %p with BufferEvent at %p", this, m_BufferEvent); - // Update the endpoint addresses: UpdateLocalAddress(); UpdateAddress(a_Address, a_AddrLen, m_RemoteIP, m_RemotePort); @@ -51,7 +48,6 @@ cTCPLinkImpl::cTCPLinkImpl(evutil_socket_t a_Socket, cTCPLink::cCallbacksPtr a_L cTCPLinkImpl::~cTCPLinkImpl() { - LOGD("Deleting cTCPLinkImpl at %p with BufferEvent at %p", this, m_BufferEvent); bufferevent_free(m_BufferEvent); } @@ -216,8 +212,6 @@ void cTCPLinkImpl::WriteCallback(bufferevent * a_BufferEvent, void * a_Self) void cTCPLinkImpl::EventCallback(bufferevent * a_BufferEvent, short a_What, void * a_Self) { - LOGD("cTCPLink event callback for link %p, BEV %p; what = 0x%02x", a_Self, a_BufferEvent, a_What); - ASSERT(a_Self != nullptr); cTCPLinkImplPtr Self = static_cast<cTCPLinkImpl *>(a_Self)->m_Self; diff --git a/src/OSSupport/UDPEndpointImpl.cpp b/src/OSSupport/UDPEndpointImpl.cpp index 31ca107ce..68117e5a0 100644 --- a/src/OSSupport/UDPEndpointImpl.cpp +++ b/src/OSSupport/UDPEndpointImpl.cpp @@ -384,7 +384,7 @@ void cUDPEndpointImpl::Open(UInt16 a_Port) // Failed to create IPv6 socket, create an IPv4 one instead: m_IsMainSockIPv6 = false; err = EVUTIL_SOCKET_ERROR(); - LOGD("Failed to create IPv6 MainSock: %d (%s)", err, evutil_socket_error_to_string(err)); + LOGD("UDP: Failed to create IPv6 MainSock: %d (%s)", err, evutil_socket_error_to_string(err)); m_MainSock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); if (!IsValidSocket(m_MainSock)) { |