diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-12 06:44:55 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-12 06:44:55 +0000 |
commit | 49a6798dd58a49179ec4fe11c1e93f4fa12f32d9 (patch) | |
tree | 7477299372b0652625d60910b8f4405f2a43ffd4 /tests/Enum_Interfaces_Test.cpp | |
parent | 1930c9aa0cf3317208e9c5eb7ed416838d34c1eb (diff) | |
download | ATCD-49a6798dd58a49179ec4fe11c1e93f4fa12f32d9.tar.gz |
Made it CE friendly
Diffstat (limited to 'tests/Enum_Interfaces_Test.cpp')
-rw-r--r-- | tests/Enum_Interfaces_Test.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/Enum_Interfaces_Test.cpp b/tests/Enum_Interfaces_Test.cpp index 31e9a639104..39cf7e48290 100644 --- a/tests/Enum_Interfaces_Test.cpp +++ b/tests/Enum_Interfaces_Test.cpp @@ -32,9 +32,9 @@ #include "ace/INET_Addr.h" int -main (int, char *[]) +main (int, ASYS_TCHAR *[]) { - ACE_START_TEST ("Enum_Interfaces_Test"); + ACE_START_TEST (ASYS_TEXT ("Enum_Interfaces_Test")); ACE_INET_Addr *the_addr_array; size_t how_many = 0; @@ -43,17 +43,17 @@ main (int, char *[]) if (rc != 0) ACE_ERROR ((LM_ERROR, - "%p\n", - "ACE::get_ip_interfaces failed")); + ASYS_TEXT ("%p\n"), + ASYS_TEXT ("ACE::get_ip_interfaces failed"))); else if (how_many == 0) ACE_ERROR ((LM_ERROR, - "No interfaces presently configured in the kernel\n")); + ASYS_TEXT ("No interfaces presently configured in the kernel\n"))); else { - ACE_DEBUG ((LM_DEBUG, "there are %d interfaces\n", how_many)); + ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("there are %d interfaces\n"), how_many)); for (size_t i = 0; i < how_many; i++) - ACE_DEBUG ((LM_DEBUG, "\t%s\n", the_addr_array[i].get_host_addr ())); + ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("\t%s\n"), the_addr_array[i].get_host_addr ())); delete [] the_addr_array; } |