summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-06-08 19:44:35 +0200
committerGravatar Martin Szulecki2010-06-08 19:44:35 +0200
commita149d85cb86c4cd2c76edc56b8acc00512fe24e3 (patch)
tree7b3dd2205a00bcb0f1641371810d6e3de557379d
parent3e9a5359edd8c77d0af7509e326083ae62f7337d (diff)
downloadlibimobiledevice-a149d85cb86c4cd2c76edc56b8acc00512fe24e3.tar.gz
libimobiledevice-a149d85cb86c4cd2c76edc56b8acc00512fe24e3.tar.bz2
Fix typos in mobilesync code
-rw-r--r--src/mobilebackup.c2
-rw-r--r--tools/idevicebackup.c2
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,
/* construct request plist */
plist_t dict = plist_new_dict();
plist_dict_insert_item(dict, "BackupManifestKey", plist_copy(backup_manifest));
- plist_dict_insert_item(dict, "BackupMessageTypeKey", plist_new_string("BackupMessageRestoreRequest"));
+ plist_dict_insert_item(dict, "BackupMessageTypeKey", plist_new_string("kBackupMessageRestoreRequest"));
plist_dict_insert_item(dict, "BackupProtocolVersion", plist_new_string(proto_version));
/* add flags */
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[])
} else if (err == MOBILEBACKUP_E_REPLY_NOT_OK) {
printf("ERROR: Could not start restore process: device refused to start the restore process.\n");
} else {
- printf("ERROR: Could not start backup process: unspecified error occured (%d)\n", err);
+ printf("ERROR: Could not start restore process: unspecified error occured (%d)\n", err);
}
plist_free(backup_data);
break;