diff options
Diffstat (limited to 'tools/plistutil.c')
-rw-r--r-- | tools/plistutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/plistutil.c b/tools/plistutil.c index e943e76..7652bdc 100644 --- a/tools/plistutil.c +++ b/tools/plistutil.c @@ -140,7 +140,7 @@ int main(int argc, char *argv[]) fclose(iplist); // convert from binary to xml or vice-versa - if (memcmp(plist_entire, "bplist00", 8) == 0) + if (plist_is_binary(plist_entire, read_size)) { plist_from_bin(plist_entire, read_size, &root_node); plist_to_xml(root_node, &plist_out, &size); |