summaryrefslogtreecommitdiffstats
path: root/tests/Network/EchoServer.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-01-12 10:54:28 +0100
committerMattes D <github@xoft.cz>2015-01-22 20:12:48 +0100
commit9ffca127090e98f473a3a6b686804672fa0c40b0 (patch)
tree8758577396f22e2d965c6cb80b53b4c7846adea0 /tests/Network/EchoServer.cpp
parentcNetwork: Implemented link address getting. (diff)
downloadcuberite-9ffca127090e98f473a3a6b686804672fa0c40b0.tar
cuberite-9ffca127090e98f473a3a6b686804672fa0c40b0.tar.gz
cuberite-9ffca127090e98f473a3a6b686804672fa0c40b0.tar.bz2
cuberite-9ffca127090e98f473a3a6b686804672fa0c40b0.tar.lz
cuberite-9ffca127090e98f473a3a6b686804672fa0c40b0.tar.xz
cuberite-9ffca127090e98f473a3a6b686804672fa0c40b0.tar.zst
cuberite-9ffca127090e98f473a3a6b686804672fa0c40b0.zip
Diffstat (limited to '')
-rw-r--r--tests/Network/EchoServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Network/EchoServer.cpp b/tests/Network/EchoServer.cpp
index 2316d1177..3d9a6228d 100644
--- a/tests/Network/EchoServer.cpp
+++ b/tests/Network/EchoServer.cpp
@@ -17,7 +17,7 @@ class cEchoServerCallbacks:
{
virtual void OnAccepted(cTCPLink & a_Link) override
{
- LOGD("New client accepted (%s:%p), sending welcome message.", a_Link.GetRemoteIP().c_str(), a_Link.GetRemotePort());
+ LOGD("New client accepted (%s:%d), sending welcome message.", a_Link.GetRemoteIP().c_str(), a_Link.GetRemotePort());
// Send a welcome message to each connecting client:
a_Link.Send("Welcome to the simple echo server.\r\n");
LOGD("Welcome message queued.");