diff options
| -rw-r--r-- | src/mobilebackup.c | 2 | ||||
| -rw-r--r-- | tools/idevicebackup.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mobilebackup.c b/src/mobilebackup.c index 6277d45..209aee3 100644 --- a/src/mobilebackup.c +++ b/src/mobilebackup.c | |||
| @@ -388,7 +388,7 @@ mobilebackup_error_t mobilebackup_request_restore(mobilebackup_client_t client, | |||
| 388 | /* construct request plist */ | 388 | /* construct request plist */ |
| 389 | plist_t dict = plist_new_dict(); | 389 | plist_t dict = plist_new_dict(); |
| 390 | plist_dict_insert_item(dict, "BackupManifestKey", plist_copy(backup_manifest)); | 390 | plist_dict_insert_item(dict, "BackupManifestKey", plist_copy(backup_manifest)); |
| 391 | plist_dict_insert_item(dict, "BackupMessageTypeKey", plist_new_string("BackupMessageRestoreRequest")); | 391 | plist_dict_insert_item(dict, "BackupMessageTypeKey", plist_new_string("kBackupMessageRestoreRequest")); |
| 392 | plist_dict_insert_item(dict, "BackupProtocolVersion", plist_new_string(proto_version)); | 392 | plist_dict_insert_item(dict, "BackupProtocolVersion", plist_new_string(proto_version)); |
| 393 | /* add flags */ | 393 | /* add flags */ |
| 394 | plist_dict_insert_item(dict, "BackupNotifySpringBoard", plist_new_bool(IS_FLAG_SET(flags, MB_RESTORE_NOTIFY_SPRINGBOARD))); | 394 | plist_dict_insert_item(dict, "BackupNotifySpringBoard", plist_new_bool(IS_FLAG_SET(flags, MB_RESTORE_NOTIFY_SPRINGBOARD))); |
diff --git a/tools/idevicebackup.c b/tools/idevicebackup.c index 0da7093..8f47433 100644 --- a/tools/idevicebackup.c +++ b/tools/idevicebackup.c | |||
| @@ -1235,7 +1235,7 @@ int main(int argc, char *argv[]) | |||
| 1235 | } else if (err == MOBILEBACKUP_E_REPLY_NOT_OK) { | 1235 | } else if (err == MOBILEBACKUP_E_REPLY_NOT_OK) { |
| 1236 | printf("ERROR: Could not start restore process: device refused to start the restore process.\n"); | 1236 | printf("ERROR: Could not start restore process: device refused to start the restore process.\n"); |
| 1237 | } else { | 1237 | } else { |
| 1238 | printf("ERROR: Could not start backup process: unspecified error occured (%d)\n", err); | 1238 | printf("ERROR: Could not start restore process: unspecified error occured (%d)\n", err); |
| 1239 | } | 1239 | } |
| 1240 | plist_free(backup_data); | 1240 | plist_free(backup_data); |
| 1241 | break; | 1241 | break; |
