summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Event
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Event')
-rw-r--r--TAO/orbsvcs/tests/Event/Mcast/AddrServer/Server.cpp10
-rw-r--r--TAO/orbsvcs/tests/Event/Mcast/RTEC_MCast_Federated/EchoEventConsumerMain.cpp6
-rw-r--r--TAO/orbsvcs/tests/Event/Mcast/RTEC_MCast_Federated/EchoEventSupplierMain.cpp6
3 files changed, 11 insertions, 11 deletions
diff --git a/TAO/orbsvcs/tests/Event/Mcast/AddrServer/Server.cpp b/TAO/orbsvcs/tests/Event/Mcast/AddrServer/Server.cpp
index 6e973ad4483..542e9c463e3 100644
--- a/TAO/orbsvcs/tests/Event/Mcast/AddrServer/Server.cpp
+++ b/TAO/orbsvcs/tests/Event/Mcast/AddrServer/Server.cpp
@@ -55,9 +55,9 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
FILE *output_file= ACE_OS::fopen (ior_file_name, "w");
if (output_file == 0)
ACE_ERROR_RETURN ((LM_ERROR,
- "Cannot open output file %s for writing IOR: %s\n",
+ "Cannot open output file %s for writing IOR: %C\n",
ior_file_name,
- ACE_TEXT_CHAR_TO_TCHAR (ior.in ())),
+ ior.in ()),
1);
ACE_OS::fprintf (output_file, "%s", ior.in ());
ACE_OS::fclose (output_file);
@@ -70,9 +70,9 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
catch (CORBA::Exception& exc)
{
ACE_ERROR ((LM_ERROR,
- "Caught CORBA::Exception\n%s (%s)\n",
- ACE_TEXT_CHAR_TO_TCHAR (exc._name ()),
- ACE_TEXT_CHAR_TO_TCHAR (exc._rep_id ()) ));
+ "Caught CORBA::Exception\n%C (%C)\n",
+ exc._name (),
+ exc._rep_id ()) );
}
#else
ACE_UNUSED_ARG (argc);
diff --git a/TAO/orbsvcs/tests/Event/Mcast/RTEC_MCast_Federated/EchoEventConsumerMain.cpp b/TAO/orbsvcs/tests/Event/Mcast/RTEC_MCast_Federated/EchoEventConsumerMain.cpp
index 9e3643ef442..5dbc8b8aa67 100644
--- a/TAO/orbsvcs/tests/Event/Mcast/RTEC_MCast_Federated/EchoEventConsumerMain.cpp
+++ b/TAO/orbsvcs/tests/Event/Mcast/RTEC_MCast_Federated/EchoEventConsumerMain.cpp
@@ -106,9 +106,9 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
catch (CORBA::Exception& exc)
{
ACE_ERROR ((LM_ERROR,
- "Caught CORBA::Exception\n%s (%s)\n",
- ACE_TEXT_CHAR_TO_TCHAR (exc._name ()),
- ACE_TEXT_CHAR_TO_TCHAR (exc._rep_id ()) ));
+ "Caught CORBA::Exception\n%C (%C)\n",
+ exc._name (),
+ exc._rep_id () ));
}
return 1;
diff --git a/TAO/orbsvcs/tests/Event/Mcast/RTEC_MCast_Federated/EchoEventSupplierMain.cpp b/TAO/orbsvcs/tests/Event/Mcast/RTEC_MCast_Federated/EchoEventSupplierMain.cpp
index 8a7d79dc677..50216f31ff9 100644
--- a/TAO/orbsvcs/tests/Event/Mcast/RTEC_MCast_Federated/EchoEventSupplierMain.cpp
+++ b/TAO/orbsvcs/tests/Event/Mcast/RTEC_MCast_Federated/EchoEventSupplierMain.cpp
@@ -264,9 +264,9 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
catch (CORBA::Exception& exc)
{
ACE_ERROR ((LM_ERROR,
- "Caught CORBA::Exception\n%s (%s)\n",
- ACE_TEXT_CHAR_TO_TCHAR (exc._name ()),
- ACE_TEXT_CHAR_TO_TCHAR (exc._rep_id ()) ));
+ "Caught CORBA::Exception\n%C (%C)\n",
+ exc._name (),
+ exc._rep_id () ));
}
return 1;
}