summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-07-31 03:47:30 +0200
committerGravatar Martin Szulecki2012-11-07 22:17:38 +0100
commit540f06a2efe883d119b89b23a2b2bb56bfeb80eb (patch)
tree775e8835c21ceb0096cc69d5b5cd9010c9cbf096 /src
parentfd3ec03cb1ade6322c347bef3e325a0ab747b7fe (diff)
downloadidevicerestore-540f06a2efe883d119b89b23a2b2bb56bfeb80eb.tar.gz
idevicerestore-540f06a2efe883d119b89b23a2b2bb56bfeb80eb.tar.bz2
fix debug mode for libidevicerestore
Diffstat (limited to 'src')
-rw-r--r--src/idevicerestore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index 8c7ad83..a5ea45d 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -175,6 +175,7 @@ int idevicerestore_start(struct idevicerestore_client_t* client)
if (client->flags & FLAG_DEBUG) {
idevice_set_debug_level(1);
irecv_set_debug_level(1);
+ idevicerestore_debug = 1;
}
idevicerestore_progress(client, RESTORE_STEP_DETECT, 0.0);
@@ -984,7 +985,6 @@ int main(int argc, char* argv[]) {
case 'd':
client->flags |= FLAG_DEBUG;
- idevicerestore_debug = 1;
break;
case 'e':