This commit is contained in:
yhirose committed 2019-11-27 12:54:01 -05:00
1 parent 8f3dbf7f21
commit 880f7fa62b
2 files changed
+16 -1

No files matched your search

+1 -1
View File
@@ -1475,7 +1475,7 @@ public:
if (!callback(buff.data(), buff.size() - strm.avail_out)) { return false; }
} while (strm.avail_out == 0);
return ret == Z_STREAM_END;
return ret == Z_OK || ret == Z_STREAM_END;
}
private: