summaryrefslogtreecommitdiff
path: root/TAO/examples/Buffered_Oneways/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Buffered_Oneways/server.cpp')
-rw-r--r--TAO/examples/Buffered_Oneways/server.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/TAO/examples/Buffered_Oneways/server.cpp b/TAO/examples/Buffered_Oneways/server.cpp
index cf6412faf12..0833f740340 100644
--- a/TAO/examples/Buffered_Oneways/server.cpp
+++ b/TAO/examples/Buffered_Oneways/server.cpp
@@ -87,8 +87,7 @@ main (int argc, char *argv[])
poa_manager->activate (ACE_TRY_ENV);
ACE_TRY_CHECK;
- if (orb->run (ACE_TRY_ENV) == -1)
- ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "orb->run"), -1);
+ orb->run (ACE_TRY_ENV);
ACE_TRY_CHECK;
ACE_DEBUG ((LM_DEBUG, "event loop finished\n"));