summaryrefslogtreecommitdiffstats
path: root/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/utils.c b/src/utils.c
index 7b10a08..af12aa5 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -331,11 +331,7 @@ LIBIMOBILEDEVICE_GLUE_API int plist_read_from_filename(plist_t *plist, const cha
return 0;
}
- if ((length > 8) && (memcmp(buffer, "bplist00", 8) == 0)) {
- plist_from_bin(buffer, length, plist);
- } else {
- plist_from_xml(buffer, length, plist);
- }
+ plist_from_memory(buffer, length, plist);
free(buffer);