summaryrefslogtreecommitdiffstats
path: root/src/recovery.c
diff options
context:
space:
mode:
authorGravatar Joshua Hill2010-06-09 04:29:51 +0800
committerGravatar rcg4u2010-06-09 17:17:30 +0800
commitbd7a45ad71862da6ecd96a1156bf5b1e123e3c43 (patch)
treef46af328ae647a4d64c96cecad125f09263b44c5 /src/recovery.c
parentcbac0617a78db20a5430ae49b4a3fd9e3d9009cc (diff)
downloadidevicerestore-bd7a45ad71862da6ecd96a1156bf5b1e123e3c43.tar.gz
idevicerestore-bd7a45ad71862da6ecd96a1156bf5b1e123e3c43.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;