summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2020-01-05 14:53:49 +0000
committerKatolaZ <katolaz@freaknet.org>2020-01-05 14:53:49 +0000
commitc974d52007f0362f455b6a544e1ff2f14929a9ee (patch)
tree5d888ba17d2ec5491293437ddd372de69fba2838
parent8401a64f99c614fa5e32c1b34e5499e0ab948d85 (diff)
add newline to error printouts
-rw-r--r--xml2tsv.c4
1 files changed, 2 insertions, 2 deletions
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) {