summaryrefslogtreecommitdiff
path: root/TAO/examples/POA/Adapter_Activator
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-02-13 17:24:35 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-02-13 17:24:35 +0000
commitcff32df027b57c8031be6b82b9b5abdece590217 (patch)
tree079a1934623c4682eb382c1cdb3c96e95eee58ac /TAO/examples/POA/Adapter_Activator
parent98873ef7f4e0aed5a26266f9e857d67247dce2b7 (diff)
downloadATCD-cff32df027b57c8031be6b82b9b5abdece590217.tar.gz
ChangeLogTag:Tue Feb 13 09:17:30 2001 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/examples/POA/Adapter_Activator')
-rw-r--r--TAO/examples/POA/Adapter_Activator/server.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/examples/POA/Adapter_Activator/server.cpp b/TAO/examples/POA/Adapter_Activator/server.cpp
index 03f10f6b015..4d1e25cf9ed 100644
--- a/TAO/examples/POA/Adapter_Activator/server.cpp
+++ b/TAO/examples/POA/Adapter_Activator/server.cpp
@@ -430,8 +430,9 @@ main (int argc, char **argv)
poa_manager->activate (ACE_TRY_ENV);
ACE_TRY_CHECK;
- if (orb->run () == -1)
- ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "CORBA::ORB::run"), -1);
+ orb->run (ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
}
ACE_CATCHANY
{