summaryrefslogtreecommitdiff
path: root/TAO/examples/POA/Explicit_Activation
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/Explicit_Activation
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/Explicit_Activation')
-rw-r--r--TAO/examples/POA/Explicit_Activation/server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/examples/POA/Explicit_Activation/server.cpp b/TAO/examples/POA/Explicit_Activation/server.cpp
index cfd49439658..456e3c712b3 100644
--- a/TAO/examples/POA/Explicit_Activation/server.cpp
+++ b/TAO/examples/POA/Explicit_Activation/server.cpp
@@ -309,8 +309,8 @@ 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_TIMEPROBE_PRINT;
}