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/tests/OctetSeq | |
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/tests/OctetSeq')
-rw-r--r-- | TAO/tests/OctetSeq/server.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/TAO/tests/OctetSeq/server.cpp b/TAO/tests/OctetSeq/server.cpp index 0ccc9a2fb08..3c6009fb55c 100644 --- a/TAO/tests/OctetSeq/server.cpp +++ b/TAO/tests/OctetSeq/server.cpp @@ -42,7 +42,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"), |