mirror of
https://github.com/zlib-ng/minizip-ng
synced 2025-03-28 21:13:18 +00:00
Fixed no error when trying to extract a single file that is not in archive. #364
This commit is contained in:
parent
6b220aa5fb
commit
ba49029b54
@ -875,6 +875,9 @@ int32_t mz_zip_reader_save_all(void *handle, const char *destination_dir)
|
||||
|
||||
err = mz_zip_reader_goto_first_entry(handle);
|
||||
|
||||
if (err == MZ_END_OF_LIST)
|
||||
return err;
|
||||
|
||||
while (err == MZ_OK)
|
||||
{
|
||||
/* Construct output path */
|
||||
|
Loading…
x
Reference in New Issue
Block a user