minor XML visitor layout fix
[babeltrace.git] / formats / ctf / metadata / ctf-visitor-xml.c
index 54b5feb84d552e0e70cfb4fa11e2884723a64a86..d768b7a3f5746ab0bdd9d2f65b986170a75a9a65 100644 (file)
@@ -85,23 +85,23 @@ int ctf_visitor_print_unary_expression(FILE *fd, int depth, struct ctf_node *nod
                break;
        case UNARY_SBRAC:
                print_tabs(fd, depth);
-               fprintf(fd, "<unary_expression_sbrac>");
+               fprintf(fd, "<unary_expression_sbrac>\n");
                ret = ctf_visitor_print_unary_expression(fd, depth + 1,
                        node->u.unary_expression.u.sbrac_exp);
                if (ret)
                        return ret;
                print_tabs(fd, depth);
-               fprintf(fd, "</unary_expression_sbrac>");
+               fprintf(fd, "</unary_expression_sbrac>\n");
                break;
        case UNARY_NESTED:
                print_tabs(fd, depth);
-               fprintf(fd, "<unary_expression_nested>");
+               fprintf(fd, "<unary_expression_nested>\n");
                ret = ctf_visitor_print_unary_expression(fd, depth + 1,
                        node->u.unary_expression.u.nested_exp);
                if (ret)
                        return ret;
                print_tabs(fd, depth);
-               fprintf(fd, "</unary_expression_nested>");
+               fprintf(fd, "</unary_expression_nested>\n");
                break;
 
        case UNARY_UNKNOWN:
This page took 0.023968 seconds and 4 git commands to generate.