1
0
mirror of synced 2025-06-13 18:41:30 +03:00
This commit is contained in:
yhirose
2019-11-27 12:54:01 -05:00
parent 8f3dbf7f21
commit 880f7fa62b
2 changed files with 16 additions and 1 deletions

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: