From: Mathieu Desnoyers Date: Tue, 22 Feb 2011 22:51:39 +0000 (-0500) Subject: minor XML visitor layout fix X-Git-Tag: v0.1~190 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=4759bcf53d08499521d152f1e379124e6b984f57 minor XML visitor layout fix Signed-off-by: Mathieu Desnoyers --- diff --git a/formats/ctf/metadata/ctf-visitor-xml.c b/formats/ctf/metadata/ctf-visitor-xml.c index 54b5feb8..d768b7a3 100644 --- a/formats/ctf/metadata/ctf-visitor-xml.c +++ b/formats/ctf/metadata/ctf-visitor-xml.c @@ -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, ""); + fprintf(fd, "\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, ""); + fprintf(fd, "\n"); break; case UNARY_NESTED: print_tabs(fd, depth); - fprintf(fd, ""); + fprintf(fd, "\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, ""); + fprintf(fd, "\n"); break; case UNARY_UNKNOWN: