mirror of
https://github.com/zlib-ng/minizip-ng
synced 2025-03-28 21:13:18 +00:00
Fixed empty zip test.
This commit is contained in:
parent
cfa2e604f6
commit
de09ac796f
@ -516,11 +516,11 @@ int32_t mz_zip_reader_save_all(void *handle, const char *destination_dir)
|
||||
|
||||
if (err == MZ_OK)
|
||||
err = mz_zip_reader_goto_next(handle);
|
||||
|
||||
if (err == MZ_END_OF_LIST)
|
||||
return MZ_OK;
|
||||
}
|
||||
|
||||
if (err == MZ_END_OF_LIST)
|
||||
return MZ_OK;
|
||||
|
||||
return err;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user