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, 4 insertions, 5 deletions
diff --git a/TAO/tao/IIOP_Transport.cpp b/TAO/tao/IIOP_Transport.cpp
index d52971418ae..11ab646bac4 100644
--- a/TAO/tao/IIOP_Transport.cpp
+++ b/TAO/tao/IIOP_Transport.cpp
@@ -169,12 +169,13 @@ TAO_IIOP_Transport::read_process_message (ACE_Time_Value *max_wait_time,
return result;
// Now we know that we have been able to read the complete message
- // here..
- result = 2; // Dummy
- while (result > 1)
+ // here.. We loop here to see whether we have read more than one
+ // message in our read.
+ do
{
result = this->process_message ();
}
+ while (result > 1);
return result;
}
@@ -475,8 +476,6 @@ TAO_IIOP_Transport::process_message (void)
return -1;
}
- // this->messaging_object_->reset ();
-
return this->messaging_object_->more_messages ();
}