Skip to content

Commit b876d82

Browse files
committed
Only enable and accept jobs for temporary queues once IPP Everywhere PPD is created (Issue #1235)
1 parent 3735a3e commit b876d82

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

scheduler/ipp.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5495,8 +5495,12 @@ create_local_bg_thread(
54955495
_cupsRWLockWrite(&printer->lock);
54965496

54975497
printer->config_time = time(NULL);
5498-
printer->state = IPP_PSTATE_IDLE;
5499-
printer->accepting = 1;
5498+
5499+
if (printer->temporary)
5500+
{
5501+
printer->state = IPP_PSTATE_IDLE;
5502+
printer->accepting = 1;
5503+
}
55005504

55015505
_cupsRWUnlock(&printer->lock);
55025506

0 commit comments

Comments
 (0)