summaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2015-02-23 14:09:31 +0000
committerNarayan Kamath <narayan@google.com>2015-02-27 12:58:16 +0000
commit9c0f5d6b348e37533bdcccf1166d6cbf1ca5c50b (patch)
tree06fe7482daa63cd42c06466f5cab8a7c64949700 /updater
parent670a0c6fe945f20ab00205ce241d4804e45e0150 (diff)
downloadbootable_recovery-9c0f5d6b348e37533bdcccf1166d6cbf1ca5c50b.zip
bootable_recovery-9c0f5d6b348e37533bdcccf1166d6cbf1ca5c50b.tar.gz
bootable_recovery-9c0f5d6b348e37533bdcccf1166d6cbf1ca5c50b.tar.bz2
Remove more dead code from minzip.
I've added explanatory comments to mzExtractRecursive because that function will live on as a utility even after we move the zip format related logic to libziparchive. bug: 19472796 (cherry-picked from commit c9ccdfd7a42de08c47ab771b94dc5b9d1f957b95) Change-Id: I8b7fb6fa3eafb2e7ac080ef7a7eceb691b252d8a
Diffstat (limited to 'updater')
-rw-r--r--updater/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/install.c b/updater/install.c
index 2b2ffb0..01a5dd2 100644
--- a/updater/install.c
+++ b/updater/install.c
@@ -496,7 +496,7 @@ Value* PackageExtractDirFn(const char* name, State* state,
struct utimbuf timestamp = { 1217592000, 1217592000 }; // 8/1/2008 default
bool success = mzExtractRecursive(za, zip_path, dest_path,
- MZ_EXTRACT_FILES_ONLY, &timestamp,
+ &timestamp,
NULL, NULL, sehandle);
free(zip_path);
free(dest_path);