From bb0255512f95ce0fccc2b659b91246e1c03072c7 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Tue, 17 Jul 2012 18:16:13 +0200 Subject: restore: Make restore mode device connection handling more verbose --- src/restore.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/restore.c') 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; -- cgit v1.1-32-gdbae