]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Only enable and accept jobs for temporary queues once IPP Everywhere PPD is created...
authorMichael R Sweet <msweet@msweet.org>
Thu, 17 Apr 2025 19:29:07 +0000 (15:29 -0400)
committerMichael R Sweet <msweet@msweet.org>
Thu, 17 Apr 2025 19:29:07 +0000 (15:29 -0400)
scheduler/ipp.c

index cc095b0e79802f104efc58a6b5983206b8fd710e..1b3769ce09a5e9df7d29702deaf09860a3f2096b 100644 (file)
@@ -5495,8 +5495,12 @@ create_local_bg_thread(
       _cupsRWLockWrite(&printer->lock);
 
       printer->config_time = time(NULL);
-      printer->state       = IPP_PSTATE_IDLE;
-      printer->accepting   = 1;
+
+      if (printer->temporary)
+      {
+       printer->state     = IPP_PSTATE_IDLE;
+       printer->accepting = 1;
+      }
 
       _cupsRWUnlock(&printer->lock);