Commit 8171cfb7 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

localspl: Don't pass original document name to cupsStartDocument.

It's used by the function to find document content type. Fixes regression introduced by e164b8ce.
parent 14c44d0b
......@@ -365,7 +365,7 @@ static BOOL cups_write_doc(doc_t *doc, const BYTE *buf, unsigned int size)
}
if (pcupsStartDocument(CUPS_HTTP_DEFAULT, doc->cups.queue, job_id,
doc->cups.doc_title, format, TRUE) != HTTP_STATUS_CONTINUE)
NULL, format, TRUE) != HTTP_STATUS_CONTINUE)
{
if (pcupsLastErrorString)
WARN("cupsStartDocument failed: %s\n", debugstr_a(pcupsLastErrorString()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment