summaryrefslogtreecommitdiff
path: root/backend/ipp.c
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2019-11-18 15:39:32 -0500
committerMichael R Sweet <michael.r.sweet@gmail.com>2019-11-18 15:39:32 -0500
commitfd8e2bdb2da53db37831baaa0db2a05fc47fc2aa (patch)
tree374612e79f254a12ef49371b0157b36853706192 /backend/ipp.c
parent56ba2f512297cff5cc629aa920b0b3858bfa304e (diff)
downloadcups-fd8e2bdb2da53db37831baaa0db2a05fc47fc2aa.tar.gz
Don't wait for held jobs to complete.
Diffstat (limited to 'backend/ipp.c')
-rw-r--r--backend/ipp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/backend/ipp.c b/backend/ipp.c
index b2b22065e..60a4ef20f 100644
--- a/backend/ipp.c
+++ b/backend/ipp.c
@@ -2124,11 +2124,10 @@ main(int argc, /* I - Number of command-line args */
job_sheets->values[0].integer);
/*
- * Stop polling if the job is finished or pending-held for 30 seconds...
+ * Stop polling if the job is finished or pending-held...
*/
- if (job_state->values[0].integer > IPP_JSTATE_STOPPED ||
- (job_state->values[0].integer == IPP_JSTATE_HELD && time(NULL) > waittime))
+ if (job_state->values[0].integer > IPP_JSTATE_STOPPED || job_state->values[0].integer == IPP_JSTATE_HELD)
{
ippDelete(response);
break;