diff options
author | 2014-03-22 13:52:28 +0100 | |
---|---|---|
committer | 2014-03-22 13:52:28 +0100 | |
commit | 39f6c99ba98427363713fc9f37adc6ffb16adf8c (patch) | |
tree | c4c319e8a5a36d5a82a7b92bc81ccbd23784d655 /src/common.c | |
parent | 75ecb8f95eacde4fa5dd7629495b27e38fd05416 (diff) | |
download | idevicerestore-39f6c99ba98427363713fc9f37adc6ffb16adf8c.tar.gz idevicerestore-39f6c99ba98427363713fc9f37adc6ffb16adf8c.tar.bz2 |
Use "plist_dict_set_item" instead of deprecated "plist_dict_insert_item"
Diffstat (limited to 'src/common.c')
-rw-r--r-- | src/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.c b/src/common.c index 426b96f..7646361 100644 --- a/src/common.c +++ b/src/common.c @@ -279,7 +279,7 @@ void plist_dict_merge(plist_t* dictionary, plist_t node) if (plist_dict_get_item(*dictionary, key) != NULL) plist_dict_remove_item(*dictionary, key); - plist_dict_insert_item(*dictionary, key, plist_copy(subnode)); + plist_dict_set_item(*dictionary, key, plist_copy(subnode)); if (key) { free(key); key = NULL; |