]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Allow ipptool to add octetString's to collections, too.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Mon, 29 Oct 2012 11:39:59 +0000 (11:39 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Mon, 29 Oct 2012 11:39:59 +0000 (11:39 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10667 7a7537e8-13f0-0310-91df-b6672ffda945

test/ipptool.c

index 0439487e0faf2fba1d7c9c65566f52e51e2db36c..a962b3900111925b536b0c3b40faf4c79897da46 100644 (file)
@@ -3442,7 +3442,10 @@ get_collection(_cups_vars_t *vars,       /* I  - Variables */
              goto col_error;
            }
            break;
-
+       case IPP_TAG_STRING :
+           ippAddOctetString(col, IPP_TAG_ZERO, attr, token, strlen(token));
+           break;
+          
        default :
            if (!strchr(token, ','))
              ippAddString(col, IPP_TAG_ZERO, value, attr, NULL, token);