diff options
Diffstat (limited to 'apps/Gateway/Gateway/gatewayd.cpp')
-rw-r--r-- | apps/Gateway/Gateway/gatewayd.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/Gateway/Gateway/gatewayd.cpp b/apps/Gateway/Gateway/gatewayd.cpp index bda60fe7d3f..8c698f4414b 100644 --- a/apps/Gateway/Gateway/gatewayd.cpp +++ b/apps/Gateway/Gateway/gatewayd.cpp @@ -29,7 +29,7 @@ ACE_RCSID (Gateway, "$Id$") int -ACE_TMAIN (int argc, ACE_TCHAR *argv[]) +main (int argc, char *argv[]) { if (ACE_OS::access (ACE_DEFAULT_SVC_CONF, F_OK) != 0) { @@ -38,14 +38,14 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[]) if (sp->init (argc - 1, argv + 1) == -1) ACE_ERROR_RETURN ((LM_ERROR, - ACE_TEXT ("%p\n"), - ACE_TEXT ("init")), + "%p\n", + "init"), 1); // Run forever, performing the configured services until we // are shut down by a SIGINT/SIGQUIT signal. - ACE_Reactor::instance ()->run_reactor_event_loop (); + ACE_Reactor::run_event_loop (); // Destructor of <ACE_Service_Object_Ptr> automagically call // <fini>. @@ -54,15 +54,15 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { if (ACE_Service_Config::open (argc, argv) == -1) ACE_ERROR_RETURN ((LM_ERROR, - ACE_TEXT ("%p\n"), - ACE_TEXT ("open")), + "%p\n", + "open"), 1); else // Use dynamic linking. // Run forever, performing the configured services until we are // shut down by a signal (e.g., SIGINT or SIGQUIT). - ACE_Reactor::instance ()->run_reactor_event_loop (); + ACE_Reactor::run_event_loop (); } return 0; } |