diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-09-22 12:12:04 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-09-22 12:12:04 +0000 |
commit | c6e8be77ededf321ad4d72dc3d221679e65b3630 (patch) | |
tree | ad833af5e4346ae8d18a613c40fc26822750be7d /ace/Message_Block.cpp | |
parent | b94e07b13610161504380d13002ee41193f310c3 (diff) | |
download | ATCD-c6e8be77ededf321ad4d72dc3d221679e65b3630.tar.gz |
(clone): check this block's cont () instead of the new block's cont_
when cloning the continuation messages.
Diffstat (limited to 'ace/Message_Block.cpp')
-rw-r--r-- | ace/Message_Block.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/Message_Block.cpp b/ace/Message_Block.cpp index 50d4bea84e7..88b9e3eef95 100644 --- a/ace/Message_Block.cpp +++ b/ace/Message_Block.cpp @@ -684,8 +684,8 @@ ACE_Message_Block::clone (Message_Flags mask) const nb->wr_ptr (this->wr_ptr_ - this->data_block ()->base ()); // Clone all the continuation messages if necessary. - if (nb->cont_ != 0 - && (nb->cont_ = nb->cont_->clone (mask)) == 0) + if (this->cont () != 0 + && (nb->cont_ = this->cont ()->clone (mask)) == 0) { nb->release (); return 0; |