summaryrefslogtreecommitdiff
path: root/ace/Message_Queue.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-10-12 00:24:20 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-10-12 00:24:20 +0000
commit984bd3bff4fda7210706c05d84c8e613d2cda3da (patch)
tree906c50bc3ed3b941db2e086ba25ba7600f9d5f3a /ace/Message_Queue.cpp
parentb93453cdbbed3a225451a1e6dcd3c03b0f58c401 (diff)
downloadATCD-984bd3bff4fda7210706c05d84c8e613d2cda3da.tar.gz
ChangeLogTag:Mon Oct 11 17:07:46 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'ace/Message_Queue.cpp')
-rw-r--r--ace/Message_Queue.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ace/Message_Queue.cpp b/ace/Message_Queue.cpp
index efa5a891cb1..fdea0c0a8a7 100644
--- a/ace/Message_Queue.cpp
+++ b/ace/Message_Queue.cpp
@@ -316,7 +316,9 @@ ACE_Message_Queue_NT::enqueue (ACE_Message_Block *new_item,
if (!this->deactivated_)
{
size_t msize = 0;
- for (ACE_Message_Block *temp = new_item;
+ ACE_Message_Block *temp;
+
+ for (temp = new_item;
temp != 0;
temp = temp->cont ())
msize += temp->size ();