Update src/IO/ZlibInflatingReadBuffer.cpp

Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
This commit is contained in:
Filatenkov Artur 2021-08-26 11:33:24 +03:00 committed by GitHub
parent f8eb02cb64
commit a7d982198c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ bool ZlibInflatingReadBuffer::nextImpl()
/// change size of working buffer (it's size equal to internal_buffer size without unused uncompressed values) /// change size of working buffer (it's size equal to internal_buffer size without unused uncompressed values)
working_buffer.resize(internal_buffer.size() - zstr.avail_out); working_buffer.resize(internal_buffer.size() - zstr.avail_out);
/// If end was reached, it can be end of file or end of part (for example, chunck) /// If end was reached, it can be end of file or end of part (for example, chunk)
if (rc == Z_STREAM_END) if (rc == Z_STREAM_END)
{ {
/// if it is end of file, remember this and return /// if it is end of file, remember this and return