diff options
author | Vincent Sanders <vince@kyllikki.org> | 2012-08-05 12:10:51 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2012-08-05 12:10:51 +0100 |
commit | 93501a764570049afce4794c0fc64a374df677a7 (patch) | |
tree | aed8aaa3785c8d980bb0b6b47a5f0f55925cce8d | |
parent | 2759bec06573d9ac3c32ef2d310492edc8a1b103 (diff) | |
download | libdom-93501a764570049afce4794c0fc64a374df677a7.tar.gz libdom-93501a764570049afce4794c0fc64a374df677a7.tar.bz2 |
fix test utility
-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; |