diff options
Diffstat (limited to 'tools/idevicebackup2.c')
| -rw-r--r-- | tools/idevicebackup2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c index b62a77b..ce4ed23 100644 --- a/tools/idevicebackup2.c +++ b/tools/idevicebackup2.c | |||
| @@ -1662,6 +1662,7 @@ int main(int argc, char *argv[]) | |||
| 1662 | plist_dict_insert_item(opts, "CloudBackupState", plist_new_bool(cmd & CMD_FLAG_ENABLE_CLOUD_BACKUP ? 1: 0)); | 1662 | plist_dict_insert_item(opts, "CloudBackupState", plist_new_bool(cmd & CMD_FLAG_ENABLE_CLOUD_BACKUP ? 1: 0)); |
| 1663 | err = mobilebackup2_send_request(mobilebackup2, "EnableCloudBackup", udid, source_udid, opts); | 1663 | err = mobilebackup2_send_request(mobilebackup2, "EnableCloudBackup", udid, source_udid, opts); |
| 1664 | plist_free(opts); | 1664 | plist_free(opts); |
| 1665 | opts = NULL; | ||
| 1665 | if (err != MOBILEBACKUP2_E_SUCCESS) { | 1666 | if (err != MOBILEBACKUP2_E_SUCCESS) { |
| 1666 | printf("Error setting cloud backup state on device, error code %d\n", err); | 1667 | printf("Error setting cloud backup state on device, error code %d\n", err); |
| 1667 | cmd = CMD_LEAVE; | 1668 | cmd = CMD_LEAVE; |
