diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-03-06 03:15:27 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-03-06 03:15:27 +0000 |
commit | 350e3f68f637b5745ee65da075aa83599068eae4 (patch) | |
tree | 2c2169750162d8434757e95d8d99a357c7b67cfe /TAO/performance-tests/Callback/client.cpp | |
parent | c9048fb8087541b0ae1245704cbaea29b3fb66ca (diff) | |
download | ATCD-350e3f68f637b5745ee65da075aa83599068eae4.tar.gz |
ChangeLogTag:Mon Mar 5 19:14:03 2001 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/performance-tests/Callback/client.cpp')
-rw-r--r-- | TAO/performance-tests/Callback/client.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/TAO/performance-tests/Callback/client.cpp b/TAO/performance-tests/Callback/client.cpp index 7fa2f0bbf5c..3229c2caae3 100644 --- a/TAO/performance-tests/Callback/client.cpp +++ b/TAO/performance-tests/Callback/client.cpp @@ -99,7 +99,9 @@ main (int argc, char *argv []) ACE_TRY_CHECK; CORBA::Object_var poa_object = - orb->resolve_initial_references("RootPOA"); + orb->resolve_initial_references("RootPOA", ACE_TRY_ENV); + ACE_TRY_CHECK; + if (CORBA::is_nil (poa_object.in ())) ACE_ERROR_RETURN ((LM_ERROR, " (%P|%t) Unable to initialize the POA.\n"), |