summaryrefslogtreecommitdiff
path: root/ace/Message_Block.i
diff options
context:
space:
mode:
authorjxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-17 08:42:11 +0000
committerjxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-17 08:42:11 +0000
commit89d0710ffbc24ebe21cefcfb31e00abedc01cdb6 (patch)
tree75142c6c58d6da39a74f712aaa744cd3feef8be6 /ace/Message_Block.i
parentdb05dc9b550cc909cf6c4197be51b1bbc8fb55fb (diff)
downloadATCD-89d0710ffbc24ebe21cefcfb31e00abedc01cdb6.tar.gz
Changed the definition of space () to be something more useful than it
was. Thanks to Bill Rizzi (rizzi@softserv.com) for pointing out the problem.
Diffstat (limited to 'ace/Message_Block.i')
-rw-r--r--ace/Message_Block.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Message_Block.i b/ace/Message_Block.i
index dd473b6f394..1c9f9ccf038 100644
--- a/ace/Message_Block.i
+++ b/ace/Message_Block.i
@@ -123,7 +123,7 @@ ACE_INLINE size_t
ACE_Message_Block::space (void) const
{
ACE_TRACE ("ACE_Message_Block::space");
- return this->size () - this->length ();
+ return this->end () - this->wr_ptr ();
}
ACE_INLINE ACE_Message_Block::ACE_Message_Type