diff options
author | Nikias Bassen | 2013-04-24 03:37:49 +0200 |
---|---|---|
committer | Nikias Bassen | 2013-04-24 03:37:49 +0200 |
commit | ddf0da04e26d634eb459a6d4a0d452d34c62e83b (patch) | |
tree | 444bed0730186906a81fbe8aea0699552ee667c5 /src/idevicerestore.c | |
parent | e4e25ee2b31b92b78ac65e3b493430c587ca09f3 (diff) | |
download | idevicerestore-ddf0da04e26d634eb459a6d4a0d452d34c62e83b.tar.gz idevicerestore-ddf0da04e26d634eb459a6d4a0d452d34c62e83b.tar.bz2 |
limera1n: verify device mode after sending exploit to check for failure
Diffstat (limited to 'src/idevicerestore.c')
-rw-r--r-- | src/idevicerestore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c index 04207d3..13b7031 100644 --- a/src/idevicerestore.c +++ b/src/idevicerestore.c @@ -279,7 +279,7 @@ int idevicerestore_start(struct idevicerestore_client_t* client) } info("exploiting with limera1n...\n"); // TODO: check for non-limera1n device and fail - if (limera1n_exploit(client->device, client->dfu->client) != 0) { + if (limera1n_exploit(client->device, &client->dfu->client) != 0) { error("ERROR: limera1n exploit failed\n"); dfu_client_free(client); return -1; @@ -738,7 +738,7 @@ int idevicerestore_start(struct idevicerestore_client_t* client) } info("exploiting with limera1n\n"); // TODO: check for non-limera1n device and fail - if (limera1n_exploit(client->device, client->dfu->client) != 0) { + if (limera1n_exploit(client->device, &client->dfu->client) != 0) { error("ERROR: limera1n exploit failed\n"); dfu_client_free(client); if (delete_fs && filesystem) |