summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Loader.cpp
diff options
context:
space:
mode:
authorseibelr <seibelr@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-11-24 22:12:20 +0000
committerseibelr <seibelr@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-11-24 22:12:20 +0000
commit47b676670dc9373bc77af80388e0b51e36134738 (patch)
treeaacce0809279e1d142e7b196a84ff10dfbdae4d0 /TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Loader.cpp
parent3dd4e2fe6c64de3a9db04757eade78d764b578f1 (diff)
downloadATCD-47b676670dc9373bc77af80388e0b51e36134738.tar.gz
Added the ACE and TAO for this branchGH5_0port
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Loader.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Loader.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Loader.cpp b/TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Loader.cpp
index d9c87c1d884..a5e914dcf87 100644
--- a/TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Loader.cpp
+++ b/TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Loader.cpp
@@ -87,14 +87,12 @@ TAO_IFR_Service_Loader::create_object (CORBA::ORB_ptr orb,
result = this->ifr_server_.init_with_orb (argc,
argv,
orb);
- if (result != 0)
+ if (result == -1)
{
- ACE_THROW_RETURN (CORBA::BAD_PARAM (0,
- CORBA::COMPLETED_NO),
- CORBA::Object::_nil ());
+ return CORBA::Object::_nil ();
}
- return CORBA::Object::_nil ();
+ return 0;
}
TAO_END_VERSIONED_NAMESPACE_DECL