Skip to content

Commit

Permalink
Only print libimobiledevice debug info for debug level > 2
Browse files Browse the repository at this point in the history
  • Loading branch information
nikias committed Sep 18, 2024
1 parent 90c2cf1 commit 9764c08
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/idevicerestore.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,9 +350,11 @@ int idevicerestore_start(struct idevicerestore_client_t* client)
if (client->debug_level > 0) {
idevicerestore_debug = 1;
if (client->debug_level > 1) {
idevice_set_debug_level(1);
irecv_set_debug_level(1);
}
if (client->debug_level > 2) {
idevice_set_debug_level(1);
}
tss_set_debug_level(client->debug_level);
}

Expand Down

0 comments on commit 9764c08

Please sign in to comment.