diff options
Diffstat (limited to 'TAO/tests/ORT/client.cpp')
-rw-r--r-- | TAO/tests/ORT/client.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/TAO/tests/ORT/client.cpp b/TAO/tests/ORT/client.cpp index a1f0d2219a7..e62b995b750 100644 --- a/TAO/tests/ORT/client.cpp +++ b/TAO/tests/ORT/client.cpp @@ -41,19 +41,16 @@ main (int argc, char *argv[]) { CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, "client_sum_orb" ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; if (parse_args (argc, argv) != 0) return 1; CORBA::Object_var obj = orb->string_to_object (ior ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; ObjectReferenceTemplate::ORT_test_var server = ObjectReferenceTemplate::ORT_test::_narrow (obj.in () ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; if (CORBA::is_nil (server.in ())) { @@ -64,14 +61,12 @@ main (int argc, char *argv[]) } CORBA::Boolean result = - server->request_server (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; + server->request_server (); if (result == 0) ACE_DEBUG ((LM_DEBUG, "Successful invocation\n")); - server->shutdown (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; + server->shutdown (); } ACE_CATCHANY { |