summaryrefslogtreecommitdiffstats
path: root/source/cClientHandle.cpp
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-05 17:24:16 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-05 17:24:16 +0100
commitab95abb6bde0073ebb869624332adf028aac8dd7 (patch)
tree74df0d744fafb12719d3e3934e9d1bfbbb20e72f /source/cClientHandle.cpp
parentcSocket: added error logging to Bind() failures (diff)
downloadcuberite-ab95abb6bde0073ebb869624332adf028aac8dd7.tar
cuberite-ab95abb6bde0073ebb869624332adf028aac8dd7.tar.gz
cuberite-ab95abb6bde0073ebb869624332adf028aac8dd7.tar.bz2
cuberite-ab95abb6bde0073ebb869624332adf028aac8dd7.tar.lz
cuberite-ab95abb6bde0073ebb869624332adf028aac8dd7.tar.xz
cuberite-ab95abb6bde0073ebb869624332adf028aac8dd7.tar.zst
cuberite-ab95abb6bde0073ebb869624332adf028aac8dd7.zip
Diffstat (limited to '')
-rw-r--r--source/cClientHandle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cClientHandle.cpp b/source/cClientHandle.cpp
index 5ecac4516..78fac80ae 100644
--- a/source/cClientHandle.cpp
+++ b/source/cClientHandle.cpp
@@ -1832,7 +1832,7 @@ void cClientHandle::ReceiveThread(void *lpParam)
}
else
{
- LOGERROR("Something went wrong during PacketID 0x%02x (%s)", temp, cSocket::GetLastErrorString());
+ LOGERROR("Something went wrong during PacketID 0x%02x (%s)", temp, cSocket::GetErrorString( cSocket::GetLastError() ).c_str());
LOG("CLIENT %s DISCONNECTED", self->m_Username.c_str());
break;
}