diff options
Diffstat (limited to 'src/idevicerestore.c')
-rw-r--r-- | src/idevicerestore.c | 8 |
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); } |