(STR #3570)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@9179
7a7537e8-13f0-0310-91df-
b6672ffda945
CHANGES IN CUPS V1.4.5
- Documentation fixes (STR #3542)
+ - The scheduler now clears the printer-state-reasons when the driver is
+ changed (STR #3570)
- The web interface did not allow a user to change the driver
(STR #3537, STR #3601)
- The scheduler was not setting the PATH_INFO environment variable when
{
/*
* If we changed the PPD/interface script, then remove the printer's cache
- * file...
+ * file and clear the printer-state-reasons...
*/
char cache_name[1024]; /* Cache filename for printer attrs */
printer->name);
unlink(cache_name);
+ cupsdSetPrinterReasons(printer, "none");
+
#ifdef __APPLE__
/*
* (Re)register color profiles...
int /* O - 1 if something changed, 0 otherwise */
cupsdSetPrinterReasons(
- cupsd_printer_t *p, /* I - Printer */
- const char *s) /* I - Reasons strings */
+ cupsd_printer_t *p, /* I - Printer */
+ const char *s) /* I - Reasons strings */
{
int i, /* Looping var */
changed = 0; /* Did something change? */