]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
The ipptool program did not correctly report uriScheme values in plist output
authorMichael R Sweet <michaelrsweet@gmail.com>
Thu, 24 Mar 2016 21:50:56 +0000 (17:50 -0400)
committerMichael R Sweet <michaelrsweet@gmail.com>
Thu, 24 Mar 2016 21:50:56 +0000 (17:50 -0400)
(Issue #4785)

CHANGES-2.1.txt
test/ipptool.c

index f6cfa6ac3de56372838c7c2995189ddc4118c466..7da5150ff38b541eba94e964ee57a5084aa389e9 100644 (file)
@@ -4,6 +4,8 @@ CHANGES-2.1.txt
 CHANGES IN CUPS V2.1.4
 
        - The ipptool program truncated values at 8k (Issue #4786)
+       - The ipptool program did not correctly report uriScheme values in plist
+         output (Issue #4785)
        - The cups-lpd mini-daemon incorrectly included the document-name
          attribute when creating a job.  It should only be included when
          sending a job (Issue #4790)
index 24b4b069e4a9f14fa4afa100c006f2b0c8360c09..bf4af105e11cfdfbca05ac02f0be632a38b324c0 100644 (file)
@@ -4398,10 +4398,11 @@ print_attr(FILE            *outfile,    /* I  - Output file */
       case IPP_TAG_TEXT :
       case IPP_TAG_NAME :
       case IPP_TAG_KEYWORD :
-      case IPP_TAG_CHARSET :
       case IPP_TAG_URI :
-      case IPP_TAG_MIMETYPE :
+      case IPP_TAG_URISCHEME :
+      case IPP_TAG_CHARSET :
       case IPP_TAG_LANGUAGE :
+      case IPP_TAG_MIMETYPE :
          for (i = 0; i < attr->num_values; i ++)
            print_xml_string(outfile, "string", attr->values[i].string.text);
          break;