| 7606 | */ |
| 7607 | |
| 7608 | static void |
| 7609 | respond_ignored( |
| 7610 | ippeve_client_t *client, /* I - Client */ |
| 7611 | ipp_attribute_t *attr) /* I - Attribute */ |
| 7612 | { |
| 7613 | ipp_attribute_t *temp; /* Copy of attribute */ |
| 7614 | |
| 7615 | |
| 7616 | if (!ippGetStatusCode(client->response)) |
| 7617 | respond_ipp(client, IPP_STATUS_OK_IGNORED_OR_SUBSTITUTED, "Unsupported %s %s%s value.", ippGetName(attr), ippGetCount(attr) > 1 ? "1setOf " : "", ippTagString(ippGetValueTag(attr))); |
| 7618 | |
| 7619 | temp = ippCopyAttribute(client->response, attr, 0); |
| 7620 | ippSetGroupTag(client->response, &temp, IPP_TAG_UNSUPPORTED_GROUP); |
| 7621 | } |
| 7622 | |
| 7623 | |
| 7624 | /* |
no test coverage detected