summaryrefslogtreecommitdiff
path: root/content/handlers/image/bmp.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2019-08-05 15:25:15 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-08-05 15:25:15 +0100
commit2be3ebd91868436abcbbd581b3e661cdd6f95559 (patch)
tree3af990171e25b772ab9c414457d634bfb6e7c2fc /content/handlers/image/bmp.c
parent6ba199c7d7bee1909107ee0b8cbaf749c575b310 (diff)
downloadnetsurf-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/image/bmp.c')
-rw-r--r--content/handlers/image/bmp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/handlers/image/bmp.c b/content/handlers/image/bmp.c
index 75d8880f3..448728ede 100644
--- a/content/handlers/image/bmp.c
+++ b/content/handlers/image/bmp.c
@@ -78,7 +78,7 @@ static nserror nsbmp_create_bmp_data(nsbmp_content *bmp)
bmp->bmp = calloc(sizeof(struct bmp_image), 1);
if (bmp->bmp == NULL) {
- content_broadcast_errorcode(&bmp->base, NSERROR_NOMEM);
+ content_broadcast_error(&bmp->base, NSERROR_NOMEM, NULL);
return NSERROR_NOMEM;
}
@@ -135,11 +135,11 @@ static bool nsbmp_convert(struct content *c)
case BMP_OK:
break;
case BMP_INSUFFICIENT_MEMORY:
- content_broadcast_errorcode(c, NSERROR_NOMEM);
+ content_broadcast_error(c, NSERROR_NOMEM, NULL);
return false;
case BMP_INSUFFICIENT_DATA:
case BMP_DATA_ERROR:
- content_broadcast_errorcode(c, NSERROR_BMP_ERROR);
+ content_broadcast_error(c, NSERROR_BMP_ERROR, NULL);
return false;
}