summaryrefslogtreecommitdiffstats
path: root/src/idevicerestore.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/idevicerestore.c
parent8f01a6ee7f4a0da815c96882a67cc3e83590b3e6 (diff)
downloadidevicerestore-46f8532a1b55edbb3367dc7524701ee23bc6175c.tar.gz
idevicerestore-46f8532a1b55edbb3367dc7524701ee23bc6175c.tar.bz2
Fix a bunch of trailing whitespace errorsfixtrailingwhitespaces
Diffstat (limited to 'src/idevicerestore.c')
-rw-r--r--src/idevicerestore.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index ed984d9..f0d4e6a 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -207,7 +207,7 @@ int idevicerestore_start(struct idevicerestore_client_t* client)
error("ERROR: Could not open device in WTF mode\n");
return -1;
}
- if ((dfu_get_cpid(client, &cpid) < 0) || (cpid == 0)) {
+ if ((dfu_get_cpid(client, &cpid) < 0) || (cpid == 0)) {
error("ERROR: Could not get CPID for WTF mode device\n");
dfu_client_free(client);
return -1;
@@ -740,7 +740,7 @@ int idevicerestore_start(struct idevicerestore_client_t* client)
remove(tmpf);
rename(filesystem, tmpf);
free(filesystem);
- filesystem = strdup(tmpf);
+ filesystem = strdup(tmpf);
}
}
@@ -812,7 +812,7 @@ int idevicerestore_start(struct idevicerestore_client_t* client)
return -2;
}
recovery_client_free(client);
-
+
/* this must be long enough to allow the device to run the iBEC */
/* FIXME: Probably better to detect if the device is back then */
sleep(7);
@@ -1519,7 +1519,7 @@ int get_tss_response(struct idevicerestore_client_t* client, plist_t build_ident
if (node) {
plist_dict_set_item(parameters, "BbSNUM", plist_copy(node));
}
-
+
/* add baseband parameters */
tss_request_add_baseband_tags(request, parameters, NULL);
}