1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-27 02:56:18 -04:00

Fix SGML parser test program

This commit is contained in:
Jonas Fonseca 2006-01-14 12:44:06 +01:00 committed by Jonas Fonseca
parent ef23ef93a2
commit 082031c10c

View File

@ -312,7 +312,7 @@ main(int argc, char *argv[])
parser->error_func = sgml_error_function;
add_dom_stack_context(&parser->stack, NULL, &sgml_parser_test_context_info);
code = parse_sgml(parser, &source, complete);
code = parse_sgml(parser, source.string, source.length, complete);
if (parser->root) {
size_t root_offset = parser->stack.depth - 1;