diff options
| author | 2014-03-20 23:00:20 +0100 | |
|---|---|---|
| committer | 2014-03-20 23:00:20 +0100 | |
| commit | 88ce6113593158944630435678e689bf155d9a03 (patch) | |
| tree | 0757287665b7e9c7263d77fd269b0777e8228d25 /src/mobilesync.c | |
| parent | a34a537d1408f8692daeadd5e1f5859ff13a3473 (diff) | |
| download | libimobiledevice-88ce6113593158944630435678e689bf155d9a03.tar.gz libimobiledevice-88ce6113593158944630435678e689bf155d9a03.tar.bz2 | |
Bump dependency to libplist 1.11 and remove use of "plist_dict_insert_item()"
Diffstat (limited to 'src/mobilesync.c')
| -rw-r--r-- | src/mobilesync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mobilesync.c b/src/mobilesync.c index e9e05ee..fd64e63 100644 --- a/src/mobilesync.c +++ b/src/mobilesync.c | |||
| @@ -987,10 +987,10 @@ void mobilesync_actions_add(plist_t actions, ...) | |||
| 987 | plist_array_append_item(array, plist_new_string(entity_names[i])); | 987 | plist_array_append_item(array, plist_new_string(entity_names[i])); |
| 988 | } | 988 | } |
| 989 | 989 | ||
| 990 | plist_dict_insert_item(actions, key, array); | 990 | plist_dict_set_item(actions, key, array); |
| 991 | } else if (!strcmp(key, "SyncDeviceLinkAllRecordsOfPulledEntityTypeSentKey")) { | 991 | } else if (!strcmp(key, "SyncDeviceLinkAllRecordsOfPulledEntityTypeSentKey")) { |
| 992 | int link_records = va_arg(args, int); | 992 | int link_records = va_arg(args, int); |
| 993 | plist_dict_insert_item(actions, key, plist_new_bool(link_records)); | 993 | plist_dict_set_item(actions, key, plist_new_bool(link_records)); |
| 994 | } | 994 | } |
| 995 | free(key); | 995 | free(key); |
| 996 | key = NULL; | 996 | key = NULL; |
