Module: wine Branch: master Commit: 8171cfb79b4dbd57184ade9b7a66aed47aba8427 URL: https://gitlab.winehq.org/wine/wine/-/commit/8171cfb79b4dbd57184ade9b7a66aed...
Author: Piotr Caban piotr@codeweavers.com Date: Wed Jun 7 20:22:21 2023 +0200
localspl: Don't pass original document name to cupsStartDocument.
It's used by the function to find document content type. Fixes regression introduced by e164b8cefb9dfbf0af5b83e176a386eb2c490d6b.
---
dlls/localspl/cups.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/localspl/cups.c b/dlls/localspl/cups.c index a7f2273aba1..cf96f1739fe 100644 --- a/dlls/localspl/cups.c +++ b/dlls/localspl/cups.c @@ -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()));