diff options
Diffstat (limited to 'TAO/tao/Transport.cpp')
-rw-r--r-- | TAO/tao/Transport.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/tao/Transport.cpp b/TAO/tao/Transport.cpp index 9792cd3ab69..5ba926432e4 100644 --- a/TAO/tao/Transport.cpp +++ b/TAO/tao/Transport.cpp @@ -1530,8 +1530,8 @@ TAO_Transport::send_asynchronous_message_i (TAO_Stub *stub, timeout_encountered = true; if (byte_count == 0) { - //This request has timed out and none of it was sent to the transport - //We can't return -1 here, since that would end up closing the tranpsort + // This request has timed out and none of it was sent to the transport + // We can't return -1 here, since that would end up closing the transport if (TAO_debug_level > 2) { TAOLIB_DEBUG ((LM_DEBUG, @@ -1645,7 +1645,7 @@ TAO_Transport::send_asynchronous_message_i (TAO_Stub *stub, this->id ())); } - size_t sent_byte = sent_byte_count_; + size_t const sent_byte = sent_byte_count_; int ret = 0; { typedef ACE_Reverse_Lock<ACE_Lock> TAO_REVERSE_LOCK; @@ -1660,8 +1660,8 @@ TAO_Transport::send_asynchronous_message_i (TAO_Stub *stub, { if (sent_byte == sent_byte_count_) // if nothing was actually flushed { - //This request has timed out and none of it was sent to the transport - //We can't return -1 here, since that would end up closing the tranpsort + // This request has timed out and none of it was sent to the transport + // We can't return -1 here, since that would end up closing the transport if (TAO_debug_level > 2) { TAOLIB_DEBUG ((LM_DEBUG, |