summaryrefslogtreecommitdiffstats
path: root/src/restore.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2015-01-30 17:13:58 +0100
committerGravatar Martin Szulecki2015-01-30 17:13:58 +0100
commit46f8532a1b55edbb3367dc7524701ee23bc6175c (patch)
tree374784862ee3b5a9e38e11ebc830dff605e80f18 /src/restore.c
parent8f01a6ee7f4a0da815c96882a67cc3e83590b3e6 (diff)
downloadidevicerestore-fixtrailingwhitespaces.tar.gz
idevicerestore-fixtrailingwhitespaces.tar.bz2
Fix a bunch of trailing whitespace errorsfixtrailingwhitespaces
Diffstat (limited to 'src/restore.c')
-rw-r--r--src/restore.c9
1 files changed, 4 insertions, 5 deletions
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");