summaryrefslogtreecommitdiffstats
path: root/net/cups/patches/200-str4181.patch
blob: c8e73f7a5c1e916f866634afa41b8dfba4a00fbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- cups-1.5.4/backend/ipp.c	(revision 10596)
+++ cups-1.5.4/backend/ipp.c	(working copy)
@@ -1578,6 +1578,10 @@
 	  ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_MIMETYPE,
 		       "document-format", NULL, document_format);

+        if (compression)
+	  ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD,
+		       "compression", NULL, compression);
+
 	fprintf(stderr, "DEBUG: Sending file %d using chunking...\n", i + 1);
 	http_status = cupsSendRequest(http, request, resource, 0);
 	if (http_status == HTTP_CONTINUE && request->state == IPP_DATA)