diff options
author | Josh Kabo <joshkong1@gmail.com> | 2022-04-16 14:50:48 -0700 |
---|---|---|
committer | Josh Kabo <joshkong1@gmail.com> | 2022-04-16 16:39:37 -0700 |
commit | 0bff53135a7388d5604983e96610cbd47996d66c (patch) | |
tree | d85d5d80a43a33f059b20a7063e446fd7e2def8c /doc/classes | |
parent | 50bb1846d0f16fae929b2ae99824dbf90be25c92 (diff) |
Unzip read success no longer breaks read loop
unzReadCurrentFile(3) returns number of bytes read, so the current code only processes the file if no bytes were read (UNZ_OK is a #define equal to 0).
I've altered the break to occur only on unsuccessful read, (when unzReadCurrentFile(3) returns less than zero), and added an error message for when an unsuccessful read occurs.
Diffstat (limited to 'doc/classes')
0 files changed, 0 insertions, 0 deletions