add newline to error printouts - xml2tsv - a simple xml-to-tsv converter, based on xmlparser DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit c974d52007f0362f455b6a544e1ff2f14929a9ee DIR parent 8401a64f99c614fa5e32c1b34e5499e0ab948d85 HTML Author: KatolaZ <katolaz@freaknet.org> Date: Sun, 5 Jan 2020 14:53:49 +0000 add newline to error printouts Diffstat: M xml2tsv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git 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) {