Skip to content

Commit

Permalink
Revert the IPP part of the compiler warning fixes from master.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Dec 13, 2019
1 parent e93ab4a commit 339d33b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/ipp.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ main(int argc, /* I - Number of command-line args */
int waitjob, /* Wait for job complete? */
waitjob_tries = 0, /* Number of times we've waited */
waitprinter; /* Wait for printer ready? */
time_t waittime; /* Wait time for held jobs */
_cups_monitor_t monitor; /* Monitoring data */
ipp_attribute_t *job_id_attr; /* job-id attribute */
int job_id; /* job-id value */
Expand Down Expand Up @@ -1993,7 +1994,7 @@ main(int argc, /* I - Number of command-line args */

_cupsLangPrintFilter(stderr, "INFO", _("Waiting for job to complete."));

for (delay = _cupsNextDelay(0, &prev_delay); !job_canceled;)
for (delay = _cupsNextDelay(0, &prev_delay), waittime = time(NULL) + 30; !job_canceled;)
{
/*
* Check for side-channel requests...
Expand Down

0 comments on commit 339d33b

Please sign in to comment.