diff options
author | Nikias Bassen | 2022-10-19 05:38:59 +0200 |
---|---|---|
committer | Nikias Bassen | 2022-10-19 05:38:59 +0200 |
commit | 2a907b0eaf3549382127aa811830ca72a553ccb8 (patch) | |
tree | 518f1728c0483cd7ee8d962df08a8474aaa8b3e9 /src | |
parent | d20eb2135be46a3596d4f5c97f175faa96c55929 (diff) | |
download | idevicerestore-2a907b0eaf3549382127aa811830ca72a553ccb8.tar.gz idevicerestore-2a907b0eaf3549382127aa811830ca72a553ccb8.tar.bz2 |
restore: Only print boot object v3/v4 plist in debug mode
Diffstat (limited to 'src')
-rw-r--r-- | src/restore.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/restore.c b/src/restore.c index b086380..e8913f5 100644 --- a/src/restore.c +++ b/src/restore.c @@ -3404,7 +3404,10 @@ static int _restore_send_file_data(restored_client_t restore, void* data, size_t int restore_send_personalized_boot_object_v3(restored_client_t restore, struct idevicerestore_client_t* client, plist_t msg, plist_t build_identity) { - debug_plist(msg); + if (idevicerestore_debug) { + debug("DEBUG: %s: Got PersonalizedBootObjectV3 request:\n", __func__); + debug_plist(message); + } char *image_name = NULL; plist_t node = plist_access_path(msg, 2, "Arguments", "ImageName"); @@ -3507,7 +3510,10 @@ int restore_send_personalized_boot_object_v3(restored_client_t restore, struct i int restore_send_source_boot_object_v4(restored_client_t restore, struct idevicerestore_client_t* client, plist_t msg, plist_t build_identity) { - debug_plist(msg); + if (idevicerestore_debug) { + debug("DEBUG: %s: Got SourceBootObjectV4 request:\n", __func__); + debug_plist(message); + } char *image_name = NULL; plist_t node = plist_access_path(msg, 2, "Arguments", "ImageName"); |