From: mike Date: Mon, 29 Oct 2012 11:39:59 +0000 (+0000) Subject: Allow ipptool to add octetString's to collections, too. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=655cb58e51876a3d154dabc810a7ea4028a5c1fe;p=thirdparty%2Fcups.git Allow ipptool to add octetString's to collections, too. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10667 7a7537e8-13f0-0310-91df-b6672ffda945 --- diff --git a/test/ipptool.c b/test/ipptool.c index 0439487e0f..a962b39001 100644 --- a/test/ipptool.c +++ b/test/ipptool.c @@ -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);