# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: H:\My Documents\NetBeansProjects\cups-1.3.x\cups # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: encode.c --- encode.c Base (BASE) +++ encode.c Locally Modified (Based On LOCAL) @@ -287,8 +287,13 @@ * Count the number of values... */ - if (match && match->multivalue) + if (!option->value) { + count = 0; + value_tag = IPP_TAG_DELETEATTR; + } + else if (match && match->multivalue) + { for (count = 1, sep = option->value, quote = 0; *sep; sep ++) { if (*sep == quote)