Skip to content

Commit

Permalink
Merge pull request #5588 from dargad/job-typo
Browse files Browse the repository at this point in the history
Fix parentheses in cupsdCleanJobs.
  • Loading branch information
michaelrsweet authored May 30, 2019
2 parents 9c55437 + 53cac1d commit 8e901a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scheduler/job.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ cupsdCleanJobs(void)
{
cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdCleanJobs: Job %d, state=%d, printer=%p, history_time=%d, file_time=%d", job->id, (int)job->state_value, (void *)job->printer, (int)job->history_time, (int)job->file_time);

if ((job->history_time && job->history_time) < JobHistoryUpdate || !JobHistoryUpdate)
if ((job->history_time && job->history_time < JobHistoryUpdate) || !JobHistoryUpdate)
JobHistoryUpdate = job->history_time;

if ((job->file_time && job->file_time < JobHistoryUpdate) || !JobHistoryUpdate)
Expand Down

0 comments on commit 8e901a3

Please sign in to comment.