summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2020-01-05 15:06:56 +0000
committerKatolaZ <katolaz@freaknet.org>2020-01-05 15:06:56 +0000
commit11b4f557a5927fdc9277a071f4c9bcc76cf725df (patch)
tree295bd1129d8215c7d09489b8154d8a9dce59aff5
parentc974d52007f0362f455b6a544e1ff2f14929a9ee (diff)
avoid double printout on short tags
-rw-r--r--xml2tsv.c4
1 files changed, 2 insertions, 2 deletions
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