Gitweb links:

...log 
http://git.netsurf-browser.org/libdom.git/shortlog/93501a764570049afce4794c0fc64a374df677a7
...commit 
http://git.netsurf-browser.org/libdom.git/commit/93501a764570049afce4794c0fc64a374df677a7
...tree 
http://git.netsurf-browser.org/libdom.git/tree/93501a764570049afce4794c0fc64a374df677a7

The branch, master has been updated
       via  93501a764570049afce4794c0fc64a374df677a7 (commit)
      from  2759bec06573d9ac3c32ef2d310492edc8a1b103 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/libdom.git/commitdiff/93501a764570049afce4794c0fc64a374df677a7
commit 93501a764570049afce4794c0fc64a374df677a7
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>

    fix test utility

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;


-----------------------------------------------------------------------

Summary of changes:
 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;


-- 
Document Object Model library

_______________________________________________
netsurf-commits mailing list
[email protected]
http://vlists.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to