summaryrefslogtreecommitdiffstats
path: root/src/bplist.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2017-04-20 11:36:22 +0200
committerGravatar Nikias Bassen2017-04-20 11:36:22 +0200
commit9e4b5eb51699c7b6aaa6c566a30bd982f0b108ee (patch)
treebfb71bc0efa3720ea27cd7aa97b9ccd8d642d77d /src/bplist.c
parentaf52f0420a27f88174ad87c6a0f2cfb7cb426ad9 (diff)
downloadlibplist-9e4b5eb51699c7b6aaa6c566a30bd982f0b108ee.tar.gz
libplist-9e4b5eb51699c7b6aaa6c566a30bd982f0b108ee.tar.bz2
bplist: Fix missing break in switch statement in plist_to_bin()
Credit to Christophe Fergeau
Diffstat (limited to 'src/bplist.c')
-rw-r--r--src/bplist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bplist.c b/src/bplist.c
index fe80458..9acd6ae 100644
--- a/src/bplist.c
+++ b/src/bplist.c
@@ -1270,6 +1270,7 @@ PLIST_API void plist_to_bin(plist_t plist, char **plist_bin, uint32_t * length)
break;
case PLIST_DATA:
write_data(bplist_buff, data->buff, data->length);
+ break;
case PLIST_ARRAY:
write_array(bplist_buff, ptr_array_index(objects, i), ref_table, ref_size);
break;