diff options
author | Kenneth Heafield <github@kheafield.com> | 2014-01-31 03:55:25 +0400 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2014-01-31 03:55:25 +0400 |
commit | 29f02c597fcfff85fb01e539a3c8fae2a3883b7b (patch) | |
tree | 95d87bd240fe353b389f1fae334b51c6e0b97a6a /util | |
parent | df8b179b7a14727c9b3bb7446d50a53b3ee21a51 (diff) |
Fix progress bar for compressed files
Diffstat (limited to 'util')
-rw-r--r-- | util/read_compressed.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/read_compressed.cc b/util/read_compressed.cc index 5b87a6fba..71ef0e251 100644 --- a/util/read_compressed.cc +++ b/util/read_compressed.cc @@ -421,6 +421,7 @@ ReadCompressed::ReadCompressed() {} ReadCompressed::~ReadCompressed() {} void ReadCompressed::Reset(int fd) { + raw_amount_ = 0; internal_.reset(); internal_.reset(ReadFactory(fd, raw_amount_, NULL, 0, false)); } |