]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Clear informational messages out of printer-state-message when a job completes
authorMichael R Sweet <michaelrsweet@gmail.com>
Tue, 19 Jul 2016 19:27:11 +0000 (15:27 -0400)
committerMichael R Sweet <michaelrsweet@gmail.com>
Tue, 19 Jul 2016 19:27:11 +0000 (15:27 -0400)
(Issue #4851)

scheduler/job.c
xcode/CUPS.xcodeproj/project.pbxproj

index e6434d974af85008b9611ce2e4342ca926368677..0f1d648d569ef3e6d284589c912e74384c2b94b2 100644 (file)
@@ -3544,6 +3544,13 @@ finalize_job(cupsd_job_t *job,           /* I - Job */
 
   cupsArrayRemove(PrintingJobs, job);
 
+ /*
+  * Clear informational messages...
+  */
+
+  if (job->status_level > CUPSD_LOG_ERROR)
+    job->printer->state_message[0] = '\0';
+
  /*
   * Apply any PPD updates...
   */
index 93dd19ac6fadf51976443a5d3a9ea0901439c742..5c31c7ac9ae2c56cc9826a56c9aba2b00363da04 100644 (file)
                72BF96371333042100B1EAD7 /* Project object */ = {
                        isa = PBXProject;
                        attributes = {
-                               LastUpgradeCheck = 0730;
+                               LastUpgradeCheck = 0800;
                                ORGANIZATIONNAME = "Apple Inc.";
                                TargetAttributes = {
                                        270695FD1CADF3E200FFE5FB = {
                72BF963C1333042100B1EAD7 /* Debug */ = {
                        isa = XCBuildConfiguration;
                        buildSettings = {
+                               ASSETCATALOG_COMPRESSION = lossless;
                                CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES;
                                CLANG_WARN_ENUM_CONVERSION = YES;
                                CLANG_WARN_IMPLICIT_SIGN_CONVERSION = YES;
                72BF963D1333042100B1EAD7 /* Release */ = {
                        isa = XCBuildConfiguration;
                        buildSettings = {
+                               ASSETCATALOG_COMPRESSION = "respect-asset-catalog";
                                CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES;
                                CLANG_WARN_ENUM_CONVERSION = YES;
                                CLANG_WARN_IMPLICIT_SIGN_CONVERSION = YES;