summaryrefslogtreecommitdiff
path: root/tests/SOCK_Test_IPv6.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/SOCK_Test_IPv6.cpp')
-rw-r--r--tests/SOCK_Test_IPv6.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/SOCK_Test_IPv6.cpp b/tests/SOCK_Test_IPv6.cpp
index 08950687fcf..31082bb9e97 100644
--- a/tests/SOCK_Test_IPv6.cpp
+++ b/tests/SOCK_Test_IPv6.cpp
@@ -64,7 +64,7 @@ client (void *arg)
ACE_ERROR_RETURN ((LM_ERROR, ACE_TEXT ("(%P|%t) %p\n"), ACE_TEXT ("connection failed")), 0);
else
ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("(%P|%t) connected to %s\n"),
- ACE_TEXT_CHAR_TO_TCHAR(server_addr.get_host_name ())));
+ ACE_TEXT_TO_TCHAR_IN(server_addr.get_host_name ())));
}
if (cli_stream.disable (ACE_NONBLOCK) == -1)
@@ -142,7 +142,7 @@ server (void *arg)
while ((result = peer_acceptor->accept (new_stream, &cli_addr)) != -1)
{
ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("(%P|%t) client %s connected from %d\n"),
- ACE_TEXT_CHAR_TO_TCHAR(cli_addr.get_host_name ()), cli_addr.get_port_number ()));
+ ACE_TEXT_TO_TCHAR_IN(cli_addr.get_host_name ()), cli_addr.get_port_number ()));
// Enable non-blocking I/O.
if (new_stream.enable (ACE_NONBLOCK) == -1)