summaryrefslogtreecommitdiff
path: root/TAO/tao/IIOP_Transport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/IIOP_Transport.cpp')
-rw-r--r--TAO/tao/IIOP_Transport.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/TAO/tao/IIOP_Transport.cpp b/TAO/tao/IIOP_Transport.cpp
index 8fee0534c04..5a0f052f57c 100644
--- a/TAO/tao/IIOP_Transport.cpp
+++ b/TAO/tao/IIOP_Transport.cpp
@@ -208,9 +208,12 @@ TAO_IIOP_Client_Transport::send_request (TAO_ORB_Core *orb_core,
two_way) == -1)
return -1;
- return TAO_GIOP::send_message (this,
- stream,
- orb_core);
+ if (TAO_GIOP::send_message (this,
+ stream,
+ orb_core) == -1)
+ return -1;
+
+ return this->idle_after_send ();
}
// Return 0, when the reply is not read fully, 1 if it is read fully.