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.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/TAO/tao/Invocation.cpp b/TAO/tao/Invocation.cpp
index e620fa54d37..7dc308adc81 100644
--- a/TAO/tao/Invocation.cpp
+++ b/TAO/tao/Invocation.cpp
@@ -772,10 +772,7 @@ TAO_GIOP_Twoway_Invocation::invoke_i (CORBA::Environment &ACE_TRY_ENV)
// Wait for the reply. We should wait till we receive the reply
// fully.
// @@ Check for return value -1 here !!! (Alex).
- int reply_error = 0;
-
- while (!this->transport_->message_received () && reply_error == 0)
- reply_error = this->transport_->wait_for_reply ();
+ int reply_error = this->transport_->wait_for_reply ();
if (reply_error == -1)
{