]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/classes.c
Merge changes from CUPS 1.4svn-r8329.
[thirdparty/cups.git] / scheduler / classes.c
index 87a55f15747c441f5b2bcabf8b2506627095b67a..d9ea997583859f1c7bdb61d6246bef57ac0579f6 100644 (file)
@@ -454,7 +454,10 @@ cupsdLoadAllClasses(void)
       if (!strcasecmp(value, "idle"))
         p->state = IPP_PRINTER_IDLE;
       else if (!strcasecmp(value, "stopped"))
+      {
         p->state = IPP_PRINTER_STOPPED;
+       cupsdSetPrinterReasons(p, "+paused");
+      }
       else
        cupsdLogMessage(CUPSD_LOG_ERROR,
                        "Syntax error on line %d of classes.conf.",