summaryrefslogtreecommitdiff
path: root/TAO/tao/Invocation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Invocation.cpp')
-rw-r--r--TAO/tao/Invocation.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tao/Invocation.cpp b/TAO/tao/Invocation.cpp
index f9cacfbd200..ebf3fdf7fa9 100644
--- a/TAO/tao/Invocation.cpp
+++ b/TAO/tao/Invocation.cpp
@@ -14,6 +14,7 @@
#include "Transport_Mux_Strategy.h"
#include "Bind_Dispatcher_Guard.h"
#include "Endpoint.h"
+#include "Transport_Connector.h"
#include "GIOP_Utils.h"
#include "ORB_Core.h"
@@ -247,10 +248,9 @@ TAO_GIOP_Invocation::perform_call (TAO_Transport_Descriptor_Interface &desc
}
// Obtain a connection.
- int result = conn_reg->connect (this,
- &desc
- ACE_ENV_ARG_PARAMETER);
- ACE_CHECK_RETURN (1);
+ int result =
+ conn_reg->get_connector (desc.endpoint ())->connect (this,
+ &desc);
if (result == 0)
{