Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 755077
Collapse All | Expand All

(-)a/backend/ipp.c (-1 / +1 lines)
Lines 3075-3081 report_printer_state(ipp_t *ipp) /* I - IPP response */ Link Here
3075
  * Report alerts and messages...
3075
  * Report alerts and messages...
3076
  */
3076
  */
3077
3077
3078
  if ((pa = ippFindAttribute(ipp, "printer-alert", IPP_TAG_TEXT)) != NULL)
3078
  if ((pa = ippFindAttribute(ipp, "printer-alert", IPP_TAG_STRING)) != NULL)
3079
    report_attr(pa);
3079
    report_attr(pa);
3080
3080
3081
  if ((pam = ippFindAttribute(ipp, "printer-alert-message",
3081
  if ((pam = ippFindAttribute(ipp, "printer-alert-message",
(-)a/scheduler/ipp.c (-2 / +1 lines)
Lines 4891-4897 copy_printer_attrs( Link Here
4891
  }
4891
  }
4892
4892
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));
4895
4895
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);
4898
- 

Return to bug 755077