diff options
author | Aaron Burghardt | 2013-09-25 21:23:32 -0400 |
---|---|---|
committer | Martin Szulecki | 2013-10-24 14:36:36 +0200 |
commit | 27d18c86865601673375d08573a0c512c401b280 (patch) | |
tree | b6c33aba14fd96c6176d916c8cb27eb29777468e /src/normal.h | |
parent | e1c4c756df5f5015979b292969e4fd6415a157bb (diff) | |
download | idevicerestore-27d18c86865601673375d08573a0c512c401b280.tar.gz idevicerestore-27d18c86865601673375d08573a0c512c401b280.tar.bz2 |
Return ‘DeviceTree’ instead of ‘RestoreDeviceTree’ from get_component_name().
Returning ‘RestoreDeviceTree’ is inconsistent with other component names, and the caller
apparently handles the need for it. Also, the API doc for plist_dictionary_insert_item states
that it asserts if the key to be inserted already exists. if plist_dictionary_insert_item actually
does assert as described, the caller of get_component_name triggers that assertion if
‘RestoreDeviceTree’ is returned.
Signed-off-by: Martin Szulecki <m.szulecki@libimobiledevice.org>
Diffstat (limited to 'src/normal.h')
0 files changed, 0 insertions, 0 deletions