From 46f8532a1b55edbb3367dc7524701ee23bc6175c Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Fri, 30 Jan 2015 17:13:58 +0100 Subject: Fix a bunch of trailing whitespace errors --- src/restore.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/restore.c') diff --git a/src/restore.c b/src/restore.c index 7e23bd2..849e8f9 100644 --- a/src/restore.c +++ b/src/restore.c @@ -148,7 +148,6 @@ static int restore_idevice_new(struct idevicerestore_client_t* client, idevice_t plist_t hwinfo = NULL; if (restored_query_value(restore, "HardwareInfo", &hwinfo) != RESTORE_E_SUCCESS) { - continue; } @@ -1033,7 +1032,7 @@ static const char* restore_get_bbfw_fn_for_element(const char* elem) { "RestoreDBL", "restoredbl.mbn" }, // Phoenix/Mav4 firmware files { "DBL", "dbl.mbn" }, - { "ENANDPRG", "ENPRG.mbn" }, + { "ENANDPRG", "ENPRG.mbn" }, // Mav5 firmware files { "RestoreSBL1", "restoresbl1.mbn" }, { "SBL1", "sbl1.mbn" }, @@ -1476,7 +1475,7 @@ int restore_send_baseband_data(restored_client_t restore, struct idevicerestore_ return -1; } char* bbfwpath = NULL; - plist_get_string_val(bbfw_path, &bbfwpath); + plist_get_string_val(bbfw_path, &bbfwpath); if (!bbfwpath) { error("ERROR: Unable to get baseband path\n"); plist_free(response); @@ -1507,7 +1506,7 @@ int restore_send_baseband_data(restored_client_t restore, struct idevicerestore_ } res = -1; - + size_t sz = 0; if (read_file(bbfwtmp, (void**)&buffer, &sz) < 0) { error("ERROR: could not read updated bbfw archive\n"); @@ -1707,7 +1706,7 @@ int restore_device(struct idevicerestore_client_t* client, plist_t build_identit if (client->preflight_info) { plist_t node; - plist_t bbus = plist_copy(client->preflight_info); + plist_t bbus = plist_copy(client->preflight_info); plist_dict_remove_item(bbus, "FusingStatus"); plist_dict_remove_item(bbus, "PkHash"); -- cgit v1.1-32-gdbae