Skip to content

Commit 50bc1d5

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

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
@@ -5319,8 +5319,12 @@ create_local_bg_thread(
53195319
cupsRWLockWrite(&printer->lock);
53205320

53215321
printer->config_time = time(NULL);
5322-
printer->state = IPP_PSTATE_IDLE;
5323-
printer->accepting = 1;
5322+
5323+
if (printer->temporary)
5324+
{
5325+
printer->state = IPP_PSTATE_IDLE;
5326+
printer->accepting = 1;
5327+
}
53245328

53255329
cupsRWUnlock(&printer->lock);
53265330

0 commit comments

Comments
 (0)