]> git.pld-linux.org Git - packages/cups.git/blob - cups-ipp-multifile.patch
- up to 2.2.1; FC patches refresh
[packages/cups.git] / cups-ipp-multifile.patch
1 diff -up cups-1.7.0/backend/ipp.c.ipp-multifile cups-1.7.0/backend/ipp.c
2 --- cups-1.7.0/backend/ipp.c.ipp-multifile      2013-10-24 15:52:00.745814354 +0100
3 +++ cups-1.7.0/backend/ipp.c    2013-10-24 15:53:46.463266724 +0100
4 @@ -1758,7 +1758,10 @@ main(int  argc,                          /* I - Number of comm
5         ippAddBoolean(request, IPP_TAG_OPERATION, "last-document",
6                       (i + 1) >= num_files);
7  
8 -       if (document_format)
9 +       if (num_files > 1)
10 +         ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_MIMETYPE,
11 +                      "document-format", NULL, "application/octet-stream");
12 +       else if (document_format)
13           ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_MIMETYPE,
14                        "document-format", NULL, document_format);
15  
This page took 0.030664 seconds and 3 git commands to generate.