From: Bryan Mason Date: Fri, 17 Sep 2021 19:12:29 +0000 (-0700) Subject: scheduler/ipp.c: Added requested changes X-Git-Tag: v2.4b1~46^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F250%2Fhead;p=thirdparty%2Fcups.git scheduler/ipp.c: Added requested changes --- diff --git a/scheduler/ipp.c b/scheduler/ipp.c index f95e84453a..7eacaec554 100644 --- a/scheduler/ipp.c +++ b/scheduler/ipp.c @@ -9373,14 +9373,10 @@ restart_job(cupsd_client_t *con, /* I - Client connection */ cupsdLogJob(job, CUPSD_LOG_DEBUG, "Restarted by \"%s\" with job-hold-until=%s.", username, attr->values[0].string.text); - cupsdSetJobHoldUntil(job, attr->values[0].string.text, 0); + cupsdSetJobHoldUntil(job, attr->values[0].string.text, 1); cupsdSetJobState(job, IPP_JOB_HELD, CUPSD_JOB_DEFAULT, "Job restarted by user with job-hold-until=%s", attr->values[0].string.text); - - cupsdAddEvent(CUPSD_EVENT_JOB_CONFIG_CHANGED | CUPSD_EVENT_JOB_STATE, - NULL, job, "Job restarted by user with job-hold-until=%s", - attr->values[0].string.text); } else {