diff options
author | Nikias Bassen | 2012-07-31 03:47:30 +0200 |
---|---|---|
committer | Martin Szulecki | 2012-11-07 22:17:38 +0100 |
commit | 540f06a2efe883d119b89b23a2b2bb56bfeb80eb (patch) | |
tree | 775e8835c21ceb0096cc69d5b5cd9010c9cbf096 | |
parent | fd3ec03cb1ade6322c347bef3e325a0ab747b7fe (diff) | |
download | idevicerestore-540f06a2efe883d119b89b23a2b2bb56bfeb80eb.tar.gz idevicerestore-540f06a2efe883d119b89b23a2b2bb56bfeb80eb.tar.bz2 |
fix debug mode for libidevicerestore
-rw-r--r-- | src/idevicerestore.c | 2 |
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': |