summaryrefslogtreecommitdiff
path: root/TAO/tao/Transport_Mux_Strategy.cpp
diff options
context:
space:
mode:
authormk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-30 16:45:28 +0000
committermk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-30 16:45:28 +0000
commit6ed1c02f28b93d63aa8479a6865068b09de1d28f (patch)
tree37b94f4d6d726d7e83b2f9ffa8976e13adbc5394 /TAO/tao/Transport_Mux_Strategy.cpp
parent56a3ecfbf9cdd69f12e92bb1a61df4b7ca4c9949 (diff)
downloadATCD-6ed1c02f28b93d63aa8479a6865068b09de1d28f.tar.gz
ChangeLogTag: Mon Aug 30 11:20:00 1999 Michael Kircher <Michael.Kircher@mchp.siemens.de>
Diffstat (limited to 'TAO/tao/Transport_Mux_Strategy.cpp')
-rw-r--r--TAO/tao/Transport_Mux_Strategy.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/TAO/tao/Transport_Mux_Strategy.cpp b/TAO/tao/Transport_Mux_Strategy.cpp
index 58f872de9b8..7d837cc2540 100644
--- a/TAO/tao/Transport_Mux_Strategy.cpp
+++ b/TAO/tao/Transport_Mux_Strategy.cpp
@@ -106,8 +106,15 @@ TAO_GIOP_Message_State *
TAO_Exclusive_TMS::get_message_state (void)
{
if (this->rd_ != 0)
- return this->rd_->message_state ();
-
+ {
+ TAO_GIOP_Message_State* rd_message_state = this->rd_->message_state ();
+ if (rd_message_state == 0)
+ {
+ // The Reply Dispatcher does not have one (the Asynch guys
+ // don't) so go ahead and pass yours.
+ return &this->message_state_;
+ }
+ }
return &this->message_state_;
}