summaryrefslogtreecommitdiff
path: root/content/handlers/image/jpeg.c
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2017-08-26 15:50:03 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2017-08-26 15:50:03 +0100
commitd70beb28db6f978ae9fc674640f3101e20c05bb8 (patch)
tree44eb1e63f612675d75bceebbb85fcebb44588d49 /content/handlers/image/jpeg.c
parentaedd9b55132bb48f6d25ae4c080dc0ce71efb44d (diff)
downloadnetsurf-d70beb28db6f978ae9fc674640f3101e20c05bb8.tar.gz
netsurf-d70beb28db6f978ae9fc674640f3101e20c05bb8.tar.bz2
Content API: Make content_broadcast take pointer to content_msg_data.
Diffstat (limited to 'content/handlers/image/jpeg.c')
-rw-r--r--content/handlers/image/jpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/handlers/image/jpeg.c b/content/handlers/image/jpeg.c
index 5ae9e70cd..c5aca1c9b 100644
--- a/content/handlers/image/jpeg.c
+++ b/content/handlers/image/jpeg.c
@@ -301,7 +301,7 @@ static bool nsjpeg_convert(struct content *c)
jpeg_destroy_decompress(&cinfo);
msg_data.error = nsjpeg_error_buffer;
- content_broadcast(c, CONTENT_MSG_ERROR, msg_data);
+ content_broadcast(c, CONTENT_MSG_ERROR, &msg_data);
return false;
}