summaryrefslogtreecommitdiff
path: root/TAO/tao/ORB.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/ORB.cpp')
-rw-r--r--TAO/tao/ORB.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/TAO/tao/ORB.cpp b/TAO/tao/ORB.cpp
index 909c3e02a9f..50c8bdbb2f8 100644
--- a/TAO/tao/ORB.cpp
+++ b/TAO/tao/ORB.cpp
@@ -1862,12 +1862,14 @@ CORBA_ORB::url_ior_string_to_object (const char* str
// of profiles and tell the MProfile object to allocate enough memory
// to hold them all.
- int retv =
- this->orb_core_->connector_registry ()->make_mprofile (
- str,
- mprofile
- ACE_ENV_ARG_PARAMETER);
+ TAO_Connector_Registry *conn_reg =
+ this->orb_core_->connector_registry (ACE_ENV_SINGLE_ARG_PARAMETER);
+ ACE_CHECK_RETURN (0);
+ int retv =
+ conn_reg->make_mprofile (str,
+ mprofile
+ ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (CORBA::Object::_nil ()); // Return nil.
if (retv != 0)