summaryrefslogtreecommitdiffstats
path: root/minzip
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2012-10-19 21:24:26 +0200
committerDoug Zongker <dougz@android.com>2012-10-19 21:24:26 +0200
commitbf80f49edcec6b22ad7b1219e6ed6eda1e930c8c (patch)
tree1f47c641d762aeac482cae331b04f9d4391720fa /minzip
parentam cd74108c: resolved conflicts for merge of 78afed1c to jb-mr1-dev-plus-aosp (diff)
downloadandroid_bootable_recovery-bf80f49edcec6b22ad7b1219e6ed6eda1e930c8c.tar
android_bootable_recovery-bf80f49edcec6b22ad7b1219e6ed6eda1e930c8c.tar.gz
android_bootable_recovery-bf80f49edcec6b22ad7b1219e6ed6eda1e930c8c.tar.bz2
android_bootable_recovery-bf80f49edcec6b22ad7b1219e6ed6eda1e930c8c.tar.lz
android_bootable_recovery-bf80f49edcec6b22ad7b1219e6ed6eda1e930c8c.tar.xz
android_bootable_recovery-bf80f49edcec6b22ad7b1219e6ed6eda1e930c8c.tar.zst
android_bootable_recovery-bf80f49edcec6b22ad7b1219e6ed6eda1e930c8c.zip
Diffstat (limited to '')
-rw-r--r--minzip/Zip.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/minzip/Zip.c b/minzip/Zip.c
index c87f038c5..439e5d9cd 100644
--- a/minzip/Zip.c
+++ b/minzip/Zip.c
@@ -985,6 +985,7 @@ bool mzExtractRecursive(const ZipArchive *pArchive,
unsigned int i;
bool seenMatch = false;
int ok = true;
+ int extractCount = 0;
for (i = 0; i < pArchive->numEntries; i++) {
ZipEntry *pEntry = pArchive->pEntries + i;
if (pEntry->fileNameLen < zipDirLen) {
@@ -1150,13 +1151,16 @@ bool mzExtractRecursive(const ZipArchive *pArchive,
break;
}
- LOGD("Extracted file \"%s\"\n", targetFile);
+ LOGV("Extracted file \"%s\"\n", targetFile);
+ ++extractCount;
}
}
if (callback != NULL) callback(targetFile, cookie);
}
+ LOGD("Extracted %d file(s)\n", extractCount);
+
free(helper.buf);
free(zpath);