summaryrefslogtreecommitdiffstats
path: root/src/mobilesync.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-03-20 23:00:20 +0100
committerGravatar Martin Szulecki2014-03-20 23:00:20 +0100
commit88ce6113593158944630435678e689bf155d9a03 (patch)
tree0757287665b7e9c7263d77fd269b0777e8228d25 /src/mobilesync.c
parenta34a537d1408f8692daeadd5e1f5859ff13a3473 (diff)
downloadlibimobiledevice-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.c4
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, ...)
plist_array_append_item(array, plist_new_string(entity_names[i]));
}
- plist_dict_insert_item(actions, key, array);
+ plist_dict_set_item(actions, key, array);
} else if (!strcmp(key, "SyncDeviceLinkAllRecordsOfPulledEntityTypeSentKey")) {
int link_records = va_arg(args, int);
- plist_dict_insert_item(actions, key, plist_new_bool(link_records));
+ plist_dict_set_item(actions, key, plist_new_bool(link_records));
}
free(key);
key = NULL;