summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/Pluggable/PP_Test_Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/performance-tests/Pluggable/PP_Test_Server.cpp')
-rw-r--r--TAO/performance-tests/Pluggable/PP_Test_Server.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/TAO/performance-tests/Pluggable/PP_Test_Server.cpp b/TAO/performance-tests/Pluggable/PP_Test_Server.cpp
index 1f6a7ed4bd7..c9fa75b0a74 100644
--- a/TAO/performance-tests/Pluggable/PP_Test_Server.cpp
+++ b/TAO/performance-tests/Pluggable/PP_Test_Server.cpp
@@ -90,7 +90,6 @@ PP_Test_Server::init (int argc,
ACE_OS::fprintf (this->ior_output_file_,
"%s",
this->factory_id_.in ());
-
ACE_OS::fclose (this->ior_output_file_);
}
@@ -100,11 +99,7 @@ PP_Test_Server::init (int argc,
int
PP_Test_Server::run (CORBA::Environment& ACE_TRY_ENV)
{
- int result = this->orb_manager_.run (ACE_TRY_ENV);
-
- ACE_CHECK_RETURN (-1);
-
- if (result == -1)
+ if (this->orb_manager_.run (ACE_TRY_ENV) == -1)
ACE_ERROR_RETURN ((LM_ERROR,
"PP_Test_Server::run"),
-1);