summaryrefslogtreecommitdiffstats
path: root/src/recovery.c
diff options
context:
space:
mode:
authorGravatar Joshua Hill2010-06-08 16:29:51 -0400
committerGravatar Joshua Hill2010-06-08 16:29:51 -0400
commit04f32540c4e73c19281c2e7710b51d21ace6010b (patch)
treef46af328ae647a4d64c96cecad125f09263b44c5 /src/recovery.c
parent21769c5e13add34ddf38ffdd1ea38a4212c34cf9 (diff)
downloadidevicerestore-04f32540c4e73c19281c2e7710b51d21ace6010b.tar.gz
idevicerestore-04f32540c4e73c19281c2e7710b51d21ace6010b.tar.bz2
Added debug info for recovery.c and a few minor fixes to asr.c
Diffstat (limited to 'src/recovery.c')
-rw-r--r--src/recovery.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/recovery.c b/src/recovery.c
index 52f4802..361ce11 100644
--- a/src/recovery.c
+++ b/src/recovery.c
@@ -157,6 +157,10 @@ int recovery_open_with_timeout(irecv_client_t* client) {
debug("Retrying connection...\n");
}
+ if (idevicerestore_debug) {
+ irecv_set_debug(recovery, idevicerestore_debug);
+ }
+
irecv_event_subscribe(recovery, IRECV_PROGRESS, &recovery_progress_callback, NULL);
*client = recovery;
return 0;