diff options
author | Michael R Sweet <michael.r.sweet@gmail.com> | 2019-05-01 14:58:28 -0400 |
---|---|---|
committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2019-05-01 14:58:28 -0400 |
commit | a2eba043171fd8fab45d30a831b4ee031a751d63 (patch) | |
tree | 064f68517acef21901c178411afa28ab082b6fdc | |
parent | c1b133728b4624e73f658b48a8308ec049ae4e6b (diff) | |
download | cups-a2eba043171fd8fab45d30a831b4ee031a751d63.tar.gz |
Update the hold expiration logging - one case is an error, the other is normal (Issue #5570)
-rw-r--r-- | scheduler/job.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scheduler/job.c b/scheduler/job.c index 17001936f..cd49a0fbc 100644 --- a/scheduler/job.c +++ b/scheduler/job.c @@ -307,10 +307,12 @@ cupsdCheckJobs(void) if (cupsdTimeoutJob(job)) continue; - } - cupsdSetJobState(job, IPP_JOB_PENDING, CUPSD_JOB_DEFAULT, "Job submission timed out."); - cupsdLogJob(job, CUPSD_LOG_ERROR, "Job submission timed out."); + cupsdSetJobState(job, IPP_JOB_PENDING, CUPSD_JOB_DEFAULT, "Job submission timed out."); + cupsdLogJob(job, CUPSD_LOG_ERROR, "Job submission timed out."); + } + else + cupsdSetJobState(job, IPP_JOB_PENDING, CUPSD_JOB_DEFAULT, "Job hold expired."); } /* |