Changeset 21:eb59943050c9 in xplcommon for src/xplcommon/posix/ReadingBuffer.cc
- Timestamp:
- 12/31/12 14:17:32 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/xplcommon/posix/ReadingBuffer.cc
r16 r21 34 34 #include "BufferedStream.h" 35 35 36 #include <cassert> 37 36 38 #include <poll.h> 37 39 … … 60 62 } else { 61 63 stream.events &= ~POLLIN; 62 addLength(result); 64 size_t added = addLength(result); 65 assert(added==result); 66 assert(getLength()==result); 63 67 } 64 68 return result>=0;
Note:
See TracChangeset
for help on using the changeset viewer.