summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-08-28 19:42:15 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-08-28 19:42:15 +0000
commitb2f6020d366e580b9c281ebb7001b499605aba7d (patch)
treec71d8a369e93cf620ea840fb1ac03ac42d2f444d
parent2fe48649473809e8b9a602749224e695a6f34362 (diff)
downloadATCD-b2f6020d366e580b9c281ebb7001b499605aba7d.tar.gz
Made CE friendly
-rw-r--r--examples/Service_Configurator/Misc/Timer_Service.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/Service_Configurator/Misc/Timer_Service.cpp b/examples/Service_Configurator/Misc/Timer_Service.cpp
index 0e5ea589b69..82c5e9f5dfc 100644
--- a/examples/Service_Configurator/Misc/Timer_Service.cpp
+++ b/examples/Service_Configurator/Misc/Timer_Service.cpp
@@ -8,12 +8,12 @@ int
Timer_Service_1::init (int argc, char *argv[])
{
ACE_DEBUG ((LM_DEBUG,
- "in Timer_Service::init, argv[0] = %s, argc == %d\n",
+ ASYS_TEXT ("in Timer_Service::init, argv[0] = %s, argc == %d\n"),
argv[0], argc));
// Printout the <argv> values for sanity's sake.
for (int i = 0; i < argc; i++)
- ACE_DEBUG ((LM_DEBUG, "argv[%d] = %s\n", i, argv[i]));
+ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("argv[%d] = %s\n"), i, argv[i]));
int interval = Timer_Service_1::TIMEOUT;
@@ -64,8 +64,8 @@ Timer_Service_1::handle_timeout (const ACE_Time_Value &tv,
const void *)
{
ACE_DEBUG ((LM_DEBUG,
- "(%x) in Timer_Service::handle_timeout sec = %d, usec = %d"
- " cur_timeouts = %d, max_timeouts = %d\n",
+ ASYS_TEXT ("(%x) in Timer_Service::handle_timeout sec = %d, usec = %d")
+ ASYS_TEXT (" cur_timeouts = %d, max_timeouts = %d\n"),
this,
tv.sec (),
tv.usec (),
@@ -85,7 +85,7 @@ int
Timer_Service_1::handle_close (ACE_HANDLE,
ACE_Reactor_Mask)
{
- ACE_DEBUG ((LM_DEBUG, "closing down the timer test\n"));
+ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("closing down the timer test\n")));
ACE_Reactor::end_event_loop();
return 0;
@@ -93,7 +93,7 @@ Timer_Service_1::handle_close (ACE_HANDLE,
// Define the object that describes the service.
ACE_STATIC_SVC_DEFINE (Timer_Service_1,
- "Timer_Service_1",
+ ASYS_TEXT ("Timer_Service_1"),
ACE_SVC_OBJ_T,
&ACE_SVC_NAME (Timer_Service_1),
ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,