4893 |
if (printer->alert && (!ra || cupsArrayFind(ra, "printer-alert"))) |
4893 |
if (printer->alert && (!ra || cupsArrayFind(ra, "printer-alert"))) |
4894 |
ippAddString(con->response, IPP_TAG_PRINTER, IPP_TAG_STRING, "printer-alert", NULL, printer->alert); |
4894 |
ippAddOctetString(con->response, IPP_TAG_PRINTER, "printer-alert", printer->alert, (int)strlen(printer->alert)); |
4896 |
if (printer->alert_description && (!ra || cupsArrayFind(ra, "printer-alert-description"))) |
4896 |
if (printer->alert_description && (!ra || cupsArrayFind(ra, "printer-alert-description"))) |
4897 |
ippAddString(con->response, IPP_TAG_PRINTER, IPP_TAG_TEXT, "printer-alert-description", NULL, printer->alert_description); |
4897 |
ippAddString(con->response, IPP_TAG_PRINTER, IPP_TAG_TEXT, "printer-alert-description", NULL, printer->alert_description); |