summaryrefslogtreecommitdiff
path: root/tests/MT_SOCK_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/MT_SOCK_Test.cpp')
-rw-r--r--tests/MT_SOCK_Test.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/MT_SOCK_Test.cpp b/tests/MT_SOCK_Test.cpp
index eb407f5f596..dd44f380df0 100644
--- a/tests/MT_SOCK_Test.cpp
+++ b/tests/MT_SOCK_Test.cpp
@@ -236,8 +236,9 @@ server (void *arg)
++num_clients_connected;
ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("(%P|%t) server: Client %C connected from %d\n"),
- cli_addr.get_host_name (),
+
+ ACE_TEXT ("(%P|%t) server: Client %s connected from %d\n"),
+ ACE_TEXT_TO_TCHAR_IN(cli_addr.get_host_name ()),
cli_addr.get_port_number ()));
// Enable non-blocking I/O.