diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-03-19 23:32:33 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-03-19 23:32:33 +0000 |
commit | c5a7c365d7665bf48d88ebd2538f0c076068df6b (patch) | |
tree | d4fa2dbd51a26f7c28c786cfeed79267d459bf07 /ace/CDR_Stream.cpp | |
parent | 25a2a28b257eefc690363fa4dcca140e812052c7 (diff) | |
download | ATCD-c5a7c365d7665bf48d88ebd2538f0c076068df6b.tar.gz |
ChangeLogTag:Fri Mar 19 17:31:57 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'ace/CDR_Stream.cpp')
-rw-r--r-- | ace/CDR_Stream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/CDR_Stream.cpp b/ace/CDR_Stream.cpp index 1faa090850b..0a87fa9c1bc 100644 --- a/ace/CDR_Stream.cpp +++ b/ace/CDR_Stream.cpp @@ -585,7 +585,7 @@ ACE_InputCDR::ACE_InputCDR (const ACE_Message_Block *data, // We must copy the contents of <data> into the new buffer, but // respecting the alignment. ptr_arith_t curalign = - ptr_arith_t(data->wr_ptr ()) % ACE_CDR::MAX_ALIGNMENT; + ptr_arith_t(data->rd_ptr ()) % ACE_CDR::MAX_ALIGNMENT; ptr_arith_t tmpalign = ptr_arith_t(this->start_.rd_ptr ()) % ACE_CDR::MAX_ALIGNMENT; int offset = curalign - tmpalign; |