summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ACE/ChangeLog6
-rw-r--r--ACE/ace/Message_Block.cpp4
2 files changed, 7 insertions, 3 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog
index 33788f9b5d8..7395c65c568 100644
--- a/ACE/ChangeLog
+++ b/ACE/ChangeLog
@@ -1,10 +1,14 @@
+Wed Aug 17 13:54:12 UTC 2011 Phil Mesnier <mesnier_p@ociweb.com>
+
+ * ace/Message_Block.cpp:
+
Mon Aug 15 14:41:24 UTC 2011 Douglas C. Schmidt <schmidt@dre.vanderbilt.edu>
* ace/Message_Block.cpp: Replaced the recursive version of
ACE_Message_Block::clone() with a non-recursive version to avoid
problems when there are large numbers of message blocks. Thanks
to Andrew Metcalfe <andrew dot metcalfe at ccur dot com> for
- reporting this and suggesting the fix, which was provided by
+ reporting this and suggesting the fix, which was provided by
Eric Frias <efrias at syncad dot com>.
Sun Aug 14 10:44:32 UTC 2011 Johnny Willemsen <jwillemsen@remedy.nl>
diff --git a/ACE/ace/Message_Block.cpp b/ACE/ace/Message_Block.cpp
index 10c0e286055..4ba74a9c125 100644
--- a/ACE/ace/Message_Block.cpp
+++ b/ACE/ace/Message_Block.cpp
@@ -1178,7 +1178,7 @@ ACE_Message_Block::clone (Message_Flags mask) const
ACE_Message_Block *new_previous_message_block = 0;
ACE_Message_Block *new_root_message_block = 0;
- do
+ do
{
// Get a pointer to a "cloned"<ACE_Data_Block> (will copy the
// values rather than increment the reference count).
@@ -1260,7 +1260,7 @@ ACE_Message_Block::clone (Message_Flags mask) const
new_previous_message_block = new_message_block;
old_message_block = old_message_block->cont();
- }
+ }
while (old_message_block != 0);
return new_root_message_block;