Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / ACE / netsvcs / clients / Naming / Dump_Restore / main.cpp
blob11c5c2f7e64f21228e8120020db8277b87da2373
1 // Test the client-side of the ACE Name Server...
3 #include "ace/Service_Config.h"
4 #include "ace/Log_Msg.h"
5 #include "Dump_Restore.h"
8 int
9 ACE_TMAIN (int argc, ACE_TCHAR *argv[])
11 ACE_Service_Config daemon (argv[0]);
13 ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("entering main\n")));
15 // Get a handler
16 Dump_Restore client_handler (argc, argv);
18 ACE_Reactor::run_event_loop ();
20 /* NOTREACHED */
21 ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("leaving main\n")));
22 return 0;