diff options
Diffstat (limited to 'TAO/tests/Timeout/server.cpp')
-rw-r--r-- | TAO/tests/Timeout/server.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/TAO/tests/Timeout/server.cpp b/TAO/tests/Timeout/server.cpp index 33e49416cdc..30f7e1c872c 100644 --- a/TAO/tests/Timeout/server.cpp +++ b/TAO/tests/Timeout/server.cpp @@ -52,7 +52,7 @@ main (int argc, char *argv[]) ACE_ERROR_RETURN ((LM_ERROR, " (%P|%t) Unable to initialize the POA.\n"), 1); - + PortableServer::POA_var root_poa = PortableServer::POA::_narrow (poa_object.in (), ACE_TRY_ENV); ACE_TRY_CHECK; @@ -66,7 +66,7 @@ main (int argc, char *argv[]) Simple_Server_var server = server_impl._this (ACE_TRY_ENV); ACE_TRY_CHECK; - + CORBA::String_var ior = orb->object_to_string (server.in (), ACE_TRY_ENV); ACE_TRY_CHECK; @@ -89,8 +89,7 @@ main (int argc, char *argv[]) poa_manager->activate (ACE_TRY_ENV); ACE_TRY_CHECK; - orb->run (ACE_TRY_ENV); - ACE_TRY_CHECK; + orb->run (); // ACE_DEBUG ((LM_DEBUG, "event loop finished\n")); } |