diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/testutils/load.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/testutils/load.c b/test/testutils/load.c index e725fc3..322afe5 100644 --- a/test/testutils/load.c +++ b/test/testutils/load.c @@ -103,7 +103,7 @@ dom_document *load_html(const char *file, bool willBeModified) UNUSED(willBeModified); - parser = dom_hubbub_parser_create(NULL, true, false, mymsg, NULL, NULL); + parser = dom_hubbub_parser_create(NULL, true, false, &ret, mymsg, NULL, NULL); if (parser == NULL) { fprintf(stderr, "Can't create Hubbub Parser\n"); return NULL; @@ -141,7 +141,6 @@ dom_document *load_html(const char *file, bool willBeModified) return NULL; } - ret = dom_hubbub_parser_get_document(parser); dom_hubbub_parser_destroy(parser); return ret; |