mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-21 22:11:22 +03:00
about: Check senddata return in blank handler
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
parent
952d2a524c
commit
926e560716
@ -48,7 +48,8 @@ bool fetch_about_blank_handler(struct fetch_about_context *ctx)
|
||||
if (fetch_about_send_header(ctx, "Content-Type: text/html"))
|
||||
goto fetch_about_blank_handler_aborted;
|
||||
|
||||
fetch_about_senddata(ctx, (const uint8_t *) buffer, strlen(buffer));
|
||||
if (fetch_about_senddata(ctx, (const uint8_t *) buffer, strlen(buffer)) != NSERROR_OK)
|
||||
goto fetch_about_blank_handler_aborted;
|
||||
|
||||
fetch_about_send_finished(ctx);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user