summaryrefslogtreecommitdiffstats
path: root/src/xplist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xplist.c')
-rw-r--r--src/xplist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xplist.c b/src/xplist.c
index d15f52d..ddd962e 100644
--- a/src/xplist.c
+++ b/src/xplist.c
@@ -1179,8 +1179,8 @@ static void node_from_xml(parse_ctx ctx, plist_t *plist, uint32_t depth)
1179 } else { 1179 } else {
1180 switch (plist_get_node_type(*plist)) { 1180 switch (plist_get_node_type(*plist)) {
1181 case PLIST_DICT: 1181 case PLIST_DICT:
1182 if (!keyname || *keyname == '\0') { 1182 if (!keyname) {
1183 PLIST_XML_ERR("missing or empty key name while adding dict item\n"); 1183 PLIST_XML_ERR("missing key name while adding dict item\n");
1184 ctx->err++; 1184 ctx->err++;
1185 break; 1185 break;
1186 } 1186 }