diff options
author | wolff1 <wolff1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2009-02-23 21:33:57 +0000 |
---|---|---|
committer | wolff1 <wolff1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2009-02-23 21:33:57 +0000 |
commit | a10286c7bf3faf525feb22a40852a10644666fec (patch) | |
tree | ae59833feb0069d74a932c0b86bbd4da04dfc7e2 /ACE/tests/SOCK_Test_IPv6.cpp | |
parent | 21bd6c21eb3346a10e81be73857e45ed241ceca3 (diff) | |
download | ATCD-a10286c7bf3faf525feb22a40852a10644666fec.tar.gz |
merge in changes from trunk/ACE revisions 83248 - 84587
Diffstat (limited to 'ACE/tests/SOCK_Test_IPv6.cpp')
-rw-r--r-- | ACE/tests/SOCK_Test_IPv6.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ACE/tests/SOCK_Test_IPv6.cpp b/ACE/tests/SOCK_Test_IPv6.cpp index bea8a7a5587..4da69395d6d 100644 --- a/ACE/tests/SOCK_Test_IPv6.cpp +++ b/ACE/tests/SOCK_Test_IPv6.cpp @@ -63,8 +63,8 @@ client (void *arg) if (con.complete (cli_stream, &server_addr, &tv) == -1) 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_DEBUG ((LM_DEBUG, ACE_TEXT ("(%P|%t) connected to %C\n"), + server_addr.get_host_name ())); } if (cli_stream.disable (ACE_NONBLOCK) == -1) @@ -141,8 +141,8 @@ 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_DEBUG ((LM_DEBUG, ACE_TEXT ("(%P|%t) client %C connected from %d\n"), + cli_addr.get_host_name (), cli_addr.get_port_number ())); // Enable non-blocking I/O. if (new_stream.enable (ACE_NONBLOCK) == -1) |