diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-03-06 04:15:17 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-03-06 04:15:17 +0000 |
commit | d09d252e2b8e2f7cb3cb2308a94284c5a6b0f92c (patch) | |
tree | b0e285565dbe8e375b0e1aebb05316778d4884f0 /TAO/orbsvcs/examples/Security/Send_File | |
parent | 4428b1af76ff30ab87f5d3d91791347b8d765b1d (diff) | |
download | ATCD-d09d252e2b8e2f7cb3cb2308a94284c5a6b0f92c.tar.gz |
ChangeLogTag:Mon Mar 5 20:11:49 2001 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/orbsvcs/examples/Security/Send_File')
-rw-r--r-- | TAO/orbsvcs/examples/Security/Send_File/server.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/TAO/orbsvcs/examples/Security/Send_File/server.cpp b/TAO/orbsvcs/examples/Security/Send_File/server.cpp index 429696fa557..b7a6d2ee3eb 100644 --- a/TAO/orbsvcs/examples/Security/Send_File/server.cpp +++ b/TAO/orbsvcs/examples/Security/Send_File/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"), |