31 lines
964 B
Diff
31 lines
964 B
Diff
|
--- a/tools/ipod-lockdown.c
|
||
|
+++ b/tools/ipod-lockdown.c
|
||
|
@@ -100,7 +100,7 @@ read_sysinfo_extended_by_uuid (const cha
|
||
|
plist_get_string_val(ptr, &str);
|
||
|
if (str != NULL) {
|
||
|
ptr = plist_new_string(str);
|
||
|
- plist_dict_insert_item(value, "SerialNumber", ptr);
|
||
|
+ plist_dict_set_item(value, "SerialNumber", ptr);
|
||
|
free(str);
|
||
|
}
|
||
|
|
||
|
@@ -112,15 +112,15 @@ read_sysinfo_extended_by_uuid (const cha
|
||
|
plist_get_string_val(ptr, &str);
|
||
|
if (str != NULL) {
|
||
|
ptr = plist_new_string(str);
|
||
|
- plist_dict_insert_item(value, "VisibleBuildID", ptr);
|
||
|
+ plist_dict_set_item(value, "VisibleBuildID", ptr);
|
||
|
free(str);
|
||
|
}
|
||
|
|
||
|
ptr = plist_new_string(uuid);
|
||
|
- plist_dict_insert_item(value, "FireWireGUID", ptr);
|
||
|
+ plist_dict_set_item(value, "FireWireGUID", ptr);
|
||
|
|
||
|
ptr = plist_new_string(uuid);
|
||
|
- plist_dict_insert_item(value, "UniqueDeviceID", ptr);
|
||
|
+ plist_dict_set_item(value, "UniqueDeviceID", ptr);
|
||
|
|
||
|
plist_to_xml(value, &xml, &xml_length);
|
||
|
|