libyang MAINTENANCE code formatting
diff --git a/src/printer_json.c b/src/printer_json.c
index a284844..5c80863 100644
--- a/src/printer_json.c
+++ b/src/printer_json.c
@@ -665,8 +665,9 @@
if (!is_open_array(ctx, node)) {
LY_CHECK_RET(json_print_member(ctx, node, 0));
LY_CHECK_RET(json_print_array_open(ctx, node));
- if (node->schema->nodetype == LYS_LEAFLIST)
+ if (node->schema->nodetype == LYS_LEAFLIST) {
ly_print_(ctx->out, "%*s", INDENT);
+ }
} else if (node->schema->nodetype == LYS_LEAFLIST) {
ly_print_(ctx->out, ",%s%*s", DO_FORMAT ? "\n" : "", INDENT);
}