summaryrefslogtreecommitdiff
path: root/TAO/tao/GIOP_Message_Base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/GIOP_Message_Base.cpp')
-rw-r--r--TAO/tao/GIOP_Message_Base.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/TAO/tao/GIOP_Message_Base.cpp b/TAO/tao/GIOP_Message_Base.cpp
index 396e58cea40..4cde6d5f19b 100644
--- a/TAO/tao/GIOP_Message_Base.cpp
+++ b/TAO/tao/GIOP_Message_Base.cpp
@@ -544,9 +544,8 @@ TAO_GIOP_Message_Base::process_request (TAO_Transport *transport,
reply_params.reply_status_ = TAO_GIOP_LOCATION_FORWARD;
reply_params.svc_ctx_.length (0);
- // Sending back the same service context list we received in the
- // Request. (Important for RT CORBA).
- reply_params.service_context_notowned (&request.service_info ());
+ // Send back the reply service context.
+ reply_params.service_context_notowned (&request.reply_service_info ());
// Make the GIOP header and Reply header
this->generate_reply_header (*this->output_,
@@ -580,7 +579,7 @@ TAO_GIOP_Message_Base::process_request (TAO_Transport *transport,
result = this->send_reply_exception (transport,
orb_core,
request_id,
- &request.service_info (),
+ &request.reply_service_info (),
&ACE_ANY_EXCEPTION);
if (result == -1)
{
@@ -640,7 +639,7 @@ TAO_GIOP_Message_Base::process_request (TAO_Transport *transport,
result = this->send_reply_exception (transport,
orb_core,
request_id,
- &request.service_info (),
+ &request.reply_service_info (),
&exception);
if (result == -1)
{