summaryrefslogtreecommitdiffstats
path: root/src/xplist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xplist.c')
-rw-r--r--src/xplist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xplist.c b/src/xplist.c
index 739b5ab..d905b92 100644
--- a/src/xplist.c
+++ b/src/xplist.c
@@ -355,7 +355,7 @@ static void node_to_xml(node_t* node, bytearray_t **outbuf, uint32_t depth)
355 str_buf_append(*outbuf, "\n", 1); 355 str_buf_append(*outbuf, "\n", 1);
356 356
357 if (isStruct) { 357 if (isStruct) {
358 if (node_data->type == PLIST_DICT) { 358 if (node_data->type == PLIST_DICT && node->children) {
359 assert((node->children->count % 2) == 0); 359 assert((node->children->count % 2) == 0);
360 } 360 }
361 node_t *ch; 361 node_t *ch;