diff options
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; |
