summaryrefslogtreecommitdiff
path: root/TAO/examples/POA/TIE/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/POA/TIE/server.cpp')
-rw-r--r--TAO/examples/POA/TIE/server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/examples/POA/TIE/server.cpp b/TAO/examples/POA/TIE/server.cpp
index c4d8558e5fb..1e2d1eb506b 100644
--- a/TAO/examples/POA/TIE/server.cpp
+++ b/TAO/examples/POA/TIE/server.cpp
@@ -248,8 +248,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_CATCHANY
{