Changeset 1586 for box/chris/merge/lib/common/ReadGatherStream.cpp
- Timestamp:
- 28/04/2007 18:13:34 (5 years ago)
- File:
-
- 1 edited
-
box/chris/merge/lib/common/ReadGatherStream.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/chris/merge/lib/common/ReadGatherStream.cpp
r217 r1586 60 60 // Function 61 61 // Name: ReadGatherStream::AddComponent(IOStream *) 62 // Purpose: Add a component to this stream, returning the index of this component 63 // in the internal list. Use this with AddBlock() 62 // Purpose: Add a component to this stream, returning the index 63 // of this component in the internal list. Use this 64 // with AddBlock() 64 65 // Created: 10/12/03 65 66 // … … 146 147 { 147 148 // Read! 148 ints = mBlocks[mCurrentBlock].mLength - mPositionInCurrentBlock;149 pos_type s = mBlocks[mCurrentBlock].mLength - mPositionInCurrentBlock; 149 150 if(s > bytesToRead) s = bytesToRead; 150 151 151 intr = mComponents[mBlocks[mCurrentBlock].mComponent]->Read(buffer, s, Timeout);152 pos_type r = mComponents[mBlocks[mCurrentBlock].mComponent]->Read(buffer, s, Timeout); 152 153 153 154 // update variables
Note: See TracChangeset
for help on using the changeset viewer.
