diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-08-05 15:25:15 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-08-05 15:25:15 +0100 |
commit | 2be3ebd91868436abcbbd581b3e661cdd6f95559 (patch) | |
tree | 3af990171e25b772ab9c414457d634bfb6e7c2fc /content/handlers/html/html_script.c | |
parent | 6ba199c7d7bee1909107ee0b8cbaf749c575b310 (diff) | |
download | netsurf-2be3ebd91868436abcbbd581b3e661cdd6f95559.tar.gz netsurf-2be3ebd91868436abcbbd581b3e661cdd6f95559.tar.bz2 |
content: Rename content_broadcast_errorcode()
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'content/handlers/html/html_script.c')
-rw-r--r-- | content/handlers/html/html_script.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/handlers/html/html_script.c b/content/handlers/html/html_script.c index 14e291ae1..6e037251c 100644 --- a/content/handlers/html/html_script.c +++ b/content/handlers/html/html_script.c @@ -414,7 +414,7 @@ exec_src_script(html_content *c, /* src url */ ns_error = nsurl_join(c->base_url, dom_string_data(src), &joined); if (ns_error != NSERROR_OK) { - content_broadcast_errorcode(&c->base, NSERROR_NOMEM); + content_broadcast_error(&c->base, NSERROR_NOMEM, NULL); return DOM_HUBBUB_NOMEM; } @@ -476,7 +476,7 @@ exec_src_script(html_content *c, nscript = html_process_new_script(c, mimetype, script_type); if (nscript == NULL) { nsurl_unref(joined); - content_broadcast_errorcode(&c->base, NSERROR_NOMEM); + content_broadcast_error(&c->base, NSERROR_NOMEM, NULL); return DOM_HUBBUB_NOMEM; } @@ -546,7 +546,7 @@ exec_inline_script(html_content *c, dom_node *node, dom_string *mimetype) if (nscript == NULL) { dom_string_unref(script); - content_broadcast_errorcode(&c->base, NSERROR_NOMEM); + content_broadcast_error(&c->base, NSERROR_NOMEM, NULL); return DOM_HUBBUB_NOMEM; } |