From 135e43c1767c6d1cc4cad057130bf371a548f648 Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Sat, 13 Dec 2008 19:59:00 +0100 Subject: Add sanity check on indexes when building plist tree. --- src/plist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plist.c') diff --git a/src/plist.c b/src/plist.c index 1fafd94..a3d3cb2 100644 --- a/src/plist.c +++ b/src/plist.c @@ -157,7 +157,7 @@ char compare_node_value(plist_type type, plist_data_t data, void *value, uint64_ res = !wcscmp(data->unicodeval, ((wchar_t *) value)); break; case PLIST_DATA: - res = memcmp(data->buff,(char*) value, length ); + res = memcmp(data->buff, (char *) value, length); break; case PLIST_ARRAY: case PLIST_DICT: -- cgit v1.1-32-gdbae