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/text | |
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/text')
-rw-r--r-- | content/handlers/text/textplain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/handlers/text/textplain.c b/content/handlers/text/textplain.c index 546301ffd..e5cd45143 100644 --- a/content/handlers/text/textplain.c +++ b/content/handlers/text/textplain.c @@ -182,7 +182,7 @@ textplain_create_internal(textplain_content *c, lwc_string *encoding) return NSERROR_OK; no_memory: - content_broadcast_errorcode(&c->base, NSERROR_NOMEM); + content_broadcast_error(&c->base, NSERROR_NOMEM, NULL); return NSERROR_NOMEM; } @@ -357,7 +357,7 @@ textplain_process_data(struct content *c, const char *data, unsigned int size) return true; no_memory: - content_broadcast_errorcode(c, NSERROR_NOMEM); + content_broadcast_error(c, NSERROR_NOMEM, NULL); return false; } |