diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2007-11-17 17:39:05 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2007-11-17 17:39:05 +0000 |
| commit | cf8bd76213945cf8f1b5c7ffe7855e20407e7ff3 (patch) | |
| tree | f83646b16c1f85861a875dabd0c63609a9a75d4b /src/ByteArrayDiskWriter.cc | |
| parent | ddefccd03c44d2c8cd9ebf352a412f5a9e014e04 (diff) | |
2007-11-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Removed.
* src/PiecedSegment.{h, cc} (operator==)(operator!=)
Use Segment::operator==()
* src/HttpConnection.cc
* src/Segment.h
Updated usage
* src/version_usage.cc
Added EINTR treatment.
* src/SocketCore.cc
* src/AbstractDiskWriter.cc
Rewritten.
* src/Util.cc (rangedFileCopy)
Diffstat (limited to 'src/ByteArrayDiskWriter.cc')
| -rw-r--r-- | src/ByteArrayDiskWriter.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ByteArrayDiskWriter.cc b/src/ByteArrayDiskWriter.cc index 864d167c..750e0437 100644 --- a/src/ByteArrayDiskWriter.cc +++ b/src/ByteArrayDiskWriter.cc @@ -82,7 +82,6 @@ int32_t ByteArrayDiskWriter::readData(unsigned char* data, int32_t len, int64_t { buf.seekg(position, ios::beg); buf.read(reinterpret_cast<char*>(data), len); - // TODO we have to call buf.clear() here? YES buf.clear(); return buf.gcount(); } |
