summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-07-17 18:16:13 +0200
committerGravatar Nikias Bassen2012-07-17 18:16:13 +0200
commitbb0255512f95ce0fccc2b659b91246e1c03072c7 (patch)
treeee7b97482b548e88f5a720bb2dfd5b81be349b82 /src
parent1944e2c657b4255c7426026f316cdd71cd091844 (diff)
downloadidevicerestore-bb0255512f95ce0fccc2b659b91246e1c03072c7.tar.gz
idevicerestore-bb0255512f95ce0fccc2b659b91246e1c03072c7.tar.bz2
restore: Make restore mode device connection handling more verbose
Diffstat (limited to 'src')
-rw-r--r--src/restore.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/restore.c b/src/restore.c
index 90c06d8..6ffcc19 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -347,7 +347,9 @@ int restore_open_with_timeout(struct idevicerestore_client_t* client) {
idevice_event_subscribe(restore_device_event_cb, client);
i = 0;
while (i++ < attempts) {
+ info("Attempt %d to connect to restore mode device...\n", i);
if (restore_device_connected) {
+ info("Device is now connected in restore mode...\n");
break;
}
sleep(1);
@@ -359,7 +361,7 @@ int restore_open_with_timeout(struct idevicerestore_client_t* client) {
return -1;
}
- info("Connecting now\n");
+ info("Connecting now...\n");
device_error = idevice_new(&device, client->udid);
if (device_error != IDEVICE_E_SUCCESS) {
return -1;