aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/stream.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/stream.h b/common/stream.h
index d88e252661..02677e0dbb 100644
--- a/common/stream.h
+++ b/common/stream.h
@@ -430,7 +430,8 @@ public:
: _parentStream(parentStream),
_disposeParentStream(disposeParentStream),
_pos(0),
- _end(end) {
+ _end(end),
+ _eos(false) {
assert(parentStream);
}
~SubReadStream() {