From 11b4f557a5927fdc9277a071f4c9bcc76cf725df Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Sun, 5 Jan 2020 15:06:56 +0000 Subject: avoid double printout on short tags --- xml2tsv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xml2tsv.c') diff --git a/xml2tsv.c b/xml2tsv.c index dd5c64b..cee5b97 100644 --- a/xml2tsv.c +++ b/xml2tsv.c @@ -212,10 +212,11 @@ xmltagend(XMLParser *x, const char *t, size_t tl, int isshort) fprintf(stderr, "Error: tag-end '%s' closes tag '%s'\n", t, tag); } - if (isshort) { +/* if (isshort) { printf("\n"); print_cur_str(stdout, &st); } +*/ } void @@ -232,7 +233,6 @@ xmltagstart(XMLParser *x, const char *t, size_t tl) void xmltagstartparsed(XMLParser *x, const char *t, size_t tl, int isshort) { - /* printf("inside tagstartparsed\n"); */ } int -- cgit v1.2.3