diff options
Diffstat (limited to 'content')
-rw-r--r-- | content/handlers/pdf/pdf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/handlers/pdf/pdf.c b/content/handlers/pdf/pdf.c index ec283aa3a..a39819249 100644 --- a/content/handlers/pdf/pdf.c +++ b/content/handlers/pdf/pdf.c @@ -137,13 +137,13 @@ static bool pdf_convert(struct content *c) content_data, content_length); if (pdfres != NSPDFERROR_OK) { - content_broadcast_errorcode(c, NSERROR_INVALID); + content_broadcast_error(c, NSERROR_INVALID, NULL); return false; } pdfres = nspdf_page_count(pdfc->doc, &pdfc->page_count); if (pdfres != NSPDFERROR_OK) { - content_broadcast_errorcode(c, NSERROR_INVALID); + content_broadcast_error(c, NSERROR_INVALID, NULL); return false; } |