]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Make sure printer-is-temporary flag is set when creating a local queue
authorMichael Sweet <michael.r.sweet@gmail.com>
Fri, 26 May 2017 11:50:04 +0000 (07:50 -0400)
committerMichael Sweet <michael.r.sweet@gmail.com>
Fri, 26 May 2017 11:50:04 +0000 (07:50 -0400)
(Issue #5009)

CHANGES.md
scheduler/ipp.c

index 52b1c04f0051de74a0fc236e448756c83ba6b404..c9836e0de0d4bf7085755c499ef9cd89ad05a447 100644 (file)
@@ -1,4 +1,4 @@
-CHANGES - 2.2.4 - 2017-05-25
+CHANGES - 2.2.4 - 2017-05-26
 ============================
 
 CHANGES IN CUPS V2.2.4
@@ -16,9 +16,7 @@ CHANGES IN CUPS V2.2.4
 - IPP Everywhere improvements (Issue #4998)
 - Fixed the "cancel all jobs" function in the web interface for several
   languages (Issue #4999)
-- The scheduler was not deleting local queues, leaving behind PPD files
-  (Issue #5003)
-- Local queues were incorrectly shared (Issue #5008)
+- Fixed issues with local queues (Issue #5003, Issue #5008, Issue #5009)
 
 
 CHANGES IN CUPS V2.2.3
index 7bc5e3945cdfcc0951dd584ff24bf8946b7b8bfb..7f390f9f4d5ef71a46abed2d2cc40fcf97536b9a 100644 (file)
@@ -5479,7 +5479,8 @@ create_local_printer(
     return;
   }
 
-  printer->shared = 0;
+  printer->shared    = 0;
+  printer->temporary = 1;
 
   cupsdSetDeviceURI(printer, ippGetString(device_uri, 0, NULL));