0
0
mirror of https://github.com/rkd77/elinks.git synced 2025-06-30 22:19:29 -04:00

[dom] error has weird value, or I'm not able to read it properly. Refs #344

This commit is contained in:
Witold Filipczyk 2024-12-16 16:18:05 +01:00
parent 019f6d494f
commit 249d212333

View File

@ -95,7 +95,7 @@ document_parse_text(const char *charset, const char *data, size_t length)
/* Parse */
error = dom_hubbub_parser_parse_chunk(parser, (const uint8_t *)data, length);
if (error != DOM_HUBBUB_OK) {
if (0 && error != DOM_HUBBUB_OK) {
dom_hubbub_parser_destroy(parser);
fprintf(stderr, "Parsing errors occur\n");
return NULL;