From c974d52007f0362f455b6a544e1ff2f14929a9ee Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Sun, 5 Jan 2020 14:53:49 +0000 Subject: add newline to error printouts --- xml2tsv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xml2tsv.c') diff --git a/xml2tsv.c b/xml2tsv.c index 960c2de..dd5c64b 100644 --- a/xml2tsv.c +++ b/xml2tsv.c @@ -205,11 +205,11 @@ xmltagend(XMLParser *x, const char *t, size_t tl, int isshort) { char *tag; if (stack_empty(&st)){ - fprintf(stderr, "Error: tag-end '%s' before any open tag", t); + fprintf(stderr, "Error: tag-end '%s' before any open tag\n", t); } tag = stack_pop(&st); if (strcmp(t, tag)){ - fprintf(stderr, "Error: tag-end '%s' closes tag '%s'", t, tag); + fprintf(stderr, "Error: tag-end '%s' closes tag '%s'\n", t, tag); } if (isshort) { -- cgit v1.2.3