summaryrefslogtreecommitdiff
path: root/servers/audio
diff options
context:
space:
mode:
authorJosh Kabo <joshkong1@gmail.com>2022-04-16 14:50:48 -0700
committerJosh Kabo <joshkong1@gmail.com>2022-04-16 16:39:37 -0700
commit0bff53135a7388d5604983e96610cbd47996d66c (patch)
treed85d5d80a43a33f059b20a7063e446fd7e2def8c /servers/audio
parent50bb1846d0f16fae929b2ae99824dbf90be25c92 (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 'servers/audio')
0 files changed, 0 insertions, 0 deletions