diff options
author | Adam Mitz <mitza-oci@users.noreply.github.com> | 2008-01-16 19:41:28 +0000 |
---|---|---|
committer | Adam Mitz <mitza-oci@users.noreply.github.com> | 2008-01-16 19:41:28 +0000 |
commit | 88e74e3b5f30f6a3d10551b0b4a80c6f03fe677b (patch) | |
tree | 66bf37b8ad39fb31f2c1079b5a536f4ec535b77b | |
parent | c504801aaf16992ffd9b1c88d11fbe3cada08006 (diff) | |
download | ATCD-88e74e3b5f30f6a3d10551b0b4a80c6f03fe677b.tar.gz |
ChangeLogTag: Wed Jan 16 19:39:58 UTC 2008 Adam Mitz <mitza@ociweb.com>
-rw-r--r-- | TAO/ChangeLog | 7 | ||||
-rw-r--r-- | TAO/tao/Transport.cpp | 5 |
2 files changed, 9 insertions, 3 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 38e0b4145da..6b8617cb144 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,10 @@ +Wed Jan 16 19:39:58 UTC 2008 Adam Mitz <mitza@ociweb.com> + + * tao/Transport.cpp: + + Fixed a logic error where the rest of a partially-sent message was + put on the wrong end of the output queue. + Wed Jan 16 16:12:35 UTC 2008 Adam Mitz <mitza@ociweb.com> * tao/Transport.h: diff --git a/TAO/tao/Transport.cpp b/TAO/tao/Transport.cpp index 6a86a410c78..129a75ea029 100644 --- a/TAO/tao/Transport.cpp +++ b/TAO/tao/Transport.cpp @@ -1382,9 +1382,8 @@ TAO_Transport::send_asynchronous_message_i (TAO_Stub *stub, this->id ())); } - bool front = (partially_sent ? true: false); - - if (this->queue_message_i (message_block, max_wait_time, front) == -1) + if (this->queue_message_i (message_block, max_wait_time, !partially_sent) + == -1) { if (TAO_debug_level > 0) { |