projects
/
platform
/
upstream
/
libzip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 1.3.0
[platform/upstream/libzip.git]
/
lib
/
zip_unchange_all.c
diff --git
a/lib/zip_unchange_all.c
b/lib/zip_unchange_all.c
index
2221d6c
..
39754b2
100644
(file)
--- a/
lib/zip_unchange_all.c
+++ b/
lib/zip_unchange_all.c
@@
-43,7
+43,9
@@
zip_unchange_all(zip_t *za)
int ret;
zip_uint64_t i;
- _zip_hash_revert(za->names);
+ if (!_zip_hash_revert(za->names, &za->error)) {
+ return -1;
+ }
ret = 0;
for (i=0; i<za->nentry; i++)