From: Zdenek Dohnal Date: Fri, 22 Mar 2024 05:27:42 +0000 (+0100) Subject: cups/ipp.c: Use strcmp, since attribute names are case sensitive X-Git-Tag: v2.4.8~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5b249e3c74f017773c19c61e257e2a93deb36db;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 59b04aa1d5..f9037bc56a 100644 --- a/cups/ipp.c +++ b/cups/ipp.c @@ -2012,7 +2012,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 && + 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)))