]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/ipp.c
Merge changes from CUPS 1.4svn-r8639.
[thirdparty/cups.git] / cups / ipp.c
index c3e8a8f12432ca4a640df69d3f63d53b28d8f396..70fb41f3813afbe73d46d7510e01f5775585adc7 100644 (file)
@@ -1432,7 +1432,13 @@ ippReadIO(void       *src,               /* I - Data source */
            case IPP_TAG_NOTSETTABLE :
            case IPP_TAG_DELETEATTR :
            case IPP_TAG_ADMINDEFINE :
-               if (attr->value_tag == IPP_TAG_NOVALUE)
+              /*
+               * These value types are not supposed to have values, however
+               * some vendors (Brother) do not implement IPP correctly and so
+               * we need to map non-empty values to text...
+               */
+
+               if (attr->value_tag == tag)
                {
                  if (n == 0)
                    break;