diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-04-28 22:48:09 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-04-28 22:48:09 +0200 |
commit | 917f810d7f196fef5959bc3096ce7360df961fc0 (patch) | |
tree | 7f66a517653e02f7cb6edd6b286b66c14f618292 | |
parent | efdd24c40d9d6ffa5207ddc369b03eba86e9e22e (diff) |
Remove warning stderr output
-rw-r--r-- | src/HtmlParser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HtmlParser.c b/src/HtmlParser.c index 0eb1275..7171d1f 100644 --- a/src/HtmlParser.c +++ b/src/HtmlParser.c @@ -429,7 +429,7 @@ static void html_parser_parse_tag_end(HtmlParser *self) { /* void tags close themselves, this is probably invalid html but we choose to ignore it silently */ if(is_void_tag(&tag_end_name)) { - fprintf(stderr, "Warning: got end tag for void tag '%.*s'\n", (int)tag_end_name.size, tag_end_name.data); + /*fprintf(stderr, "Warning: got end tag for void tag '%.*s'\n", (int)tag_end_name.size, tag_end_name.data);*/ continue; } @@ -447,7 +447,7 @@ static void html_parser_parse_tag_end(HtmlParser *self) { self->parse_callback(self, HTML_PARSE_TAG_END, self->callback_userdata); } } else { - fprintf(stderr, "Warning: start tag not found for end tag '%.*s'\n", (int)tag_end_name.size, tag_end_name.data); + /*fprintf(stderr, "Warning: start tag not found for end tag '%.*s'\n", (int)tag_end_name.size, tag_end_name.data);*/ } } else if(c == '\0') { return; |