From: Zdenek Dohnal Date: Fri, 22 Mar 2024 05:26:40 +0000 (+0100) Subject: cups/ipp.c: Use strcmp, since attribute names are case sensitive X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1aa0b7bd7782f0d08e79189e8df36541444bac45;p=thirdparty%2Fcups.git cups/ipp.c: Use strcmp, since attribute names are case sensitive --- diff --git a/cups/ipp.c b/cups/ipp.c index f484239561..09e4d35d2b 100644 --- a/cups/ipp.c +++ b/cups/ipp.c @@ -1878,7 +1878,7 @@ ippFindNextAttribute(ipp_t *ipp, // I - IPP message value_tag = (ipp_tag_t)(attr->value_tag & IPP_TAG_CUPS_MASK); - if (attr->name != NULL && _cups_strcasecmp(attr->name, name) == 0 && (value_tag == type || type == IPP_TAG_ZERO || name == parent || (value_tag == IPP_TAG_TEXTLANG && type == IPP_TAG_TEXT) || (value_tag == IPP_TAG_NAMELANG && type == IPP_TAG_NAME))) + if (attr->name != NULL && strcmp(attr->name, name) == 0 && (value_tag == type || type == IPP_TAG_ZERO || name == parent || (value_tag == IPP_TAG_TEXTLANG && type == IPP_TAG_TEXT) || (value_tag == IPP_TAG_NAMELANG && type == IPP_TAG_NAME))) { ipp->find->attr = attr;