From d79b7541f3ba5fc1c162da1aa7b28544ab85c170 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Wed, 25 May 2011 10:47:41 -0700 Subject: [PATCH] whoops Change-Id: Ided86fe1991e5d9d6a707465429ec35ccc09743a --- Android.mk | 2 +- install.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Android.mk b/Android.mk index a3012aa..13ce859 100644 --- a/Android.mk +++ b/Android.mk @@ -26,7 +26,7 @@ LOCAL_MODULE := recovery LOCAL_FORCE_STATIC_EXECUTABLE := true -RECOVERY_VERSION := ClockworkMod Recovery v3.1.0.1 +RECOVERY_VERSION := ClockworkMod Recovery v3.1.0.2 LOCAL_CFLAGS += -DRECOVERY_VERSION="$(RECOVERY_VERSION)" RECOVERY_API_VERSION := 2 LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION) diff --git a/install.c b/install.c index 7ad1b2d..0b35ee7 100644 --- a/install.c +++ b/install.c @@ -245,8 +245,9 @@ try_update_binary(const char *path, ZipArchive *zip) { } if (firmware_type != NULL) { + int ret = handle_firmware_update(firmware_type, firmware_filename, zip); mzCloseZipArchive(zip); - return handle_firmware_update(firmware_type, firmware_filename, zip); + return ret; } return INSTALL_SUCCESS; }