diff options
Diffstat (limited to 'TAO/tests/AMI_Timeouts/server.cpp')
-rw-r--r-- | TAO/tests/AMI_Timeouts/server.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tests/AMI_Timeouts/server.cpp b/TAO/tests/AMI_Timeouts/server.cpp index 34ab77b97b0..1bab591c8d9 100644 --- a/TAO/tests/AMI_Timeouts/server.cpp +++ b/TAO/tests/AMI_Timeouts/server.cpp @@ -122,9 +122,9 @@ main (int argc, char *argv[]) timeoutHandler_var.in ()); client->activate (); - - if (orb->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "orb->run"), -1); + + orb->run (ACE_TRY_ENV); + ACE_TRY_CHECK; ACE_DEBUG ((LM_DEBUG, "event loop finished\n")); |