summaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
authorGravatar Aaron Burghardt2013-09-25 21:23:32 -0400
committerGravatar Martin Szulecki2013-10-24 14:36:36 +0200
commit27d18c86865601673375d08573a0c512c401b280 (patch)
treeb6c33aba14fd96c6176d916c8cb27eb29777468e /src/common.h
parente1c4c756df5f5015979b292969e4fd6415a157bb (diff)
downloadidevicerestore-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/common.h')
0 files changed, 0 insertions, 0 deletions