Skip to content

Commit 4c6286d

Browse files
committed
Log debug history if the backend fails (Issue #1205)
1 parent 39684a1 commit 4c6286d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

scheduler/job.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3597,9 +3597,7 @@ finalize_job(cupsd_job_t *job, /* I - Job */
35973597

35983598
if (job->history)
35993599
{
3600-
if (job->status &&
3601-
(job->state_value == IPP_JSTATE_ABORTED ||
3602-
job->state_value == IPP_JSTATE_STOPPED))
3600+
if (job->status)
36033601
dump_job_history(job);
36043602
else
36053603
free_job_history(job);

0 commit comments

Comments
 (0)