summaryrefslogtreecommitdiffstats
path: root/src/restore.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2022-04-10 00:09:08 +0200
committerGravatar Nikias Bassen2022-04-10 00:09:08 +0200
commit190473b75b1f0f142cf878f79d19ae53e0cf8146 (patch)
tree44be295eec4c16978d6c1e825e96a245c68438fd /src/restore.h
parente833a301287246b3d5c61ca181e4283b2b5ff488 (diff)
downloadidevicerestore-190473b75b1f0f142cf878f79d19ae53e0cf8146.tar.gz
idevicerestore-190473b75b1f0f142cf878f79d19ae53e0cf8146.tar.bz2
restore: Fixed a problem that nobody even knew existed
At least this has been going unnoticed until recently. For quite some time we have been sending NorImageData as array to the device, but it turned out that this was only expected for iOS < 7.0 and from then on it was supposed to be a dictionary with the components. Now we should correctly handle it.
Diffstat (limited to 'src/restore.h')
-rw-r--r--src/restore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/restore.h b/src/restore.h
index c93e325..ad3b721 100644
--- a/src/restore.h
+++ b/src/restore.h
@@ -53,7 +53,7 @@ const char* restore_progress_string(unsigned int operation);
int restore_handle_status_msg(restored_client_t client, plist_t msg);
int restore_handle_progress_msg(struct idevicerestore_client_t* client, plist_t msg);
int restore_handle_data_request_msg(struct idevicerestore_client_t* client, idevice_t device, restored_client_t restore, plist_t message, plist_t build_identity, const char* filesystem);
-int restore_send_nor(restored_client_t restore, struct idevicerestore_client_t* client, plist_t build_identity);
+int restore_send_nor(restored_client_t restore, struct idevicerestore_client_t* client, plist_t build_identity, plist_t message);
int restore_send_root_ticket(restored_client_t restore, struct idevicerestore_client_t* client);
int restore_send_component(restored_client_t restore, struct idevicerestore_client_t* client, plist_t build_identity, const char* component, const char* component_name);
int restore_device(struct idevicerestore_client_t* client, plist_t build_identity, const char* filesystem);