You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
843 B
20 lines
843 B
diff --git a/scheduler/ipp.c b/scheduler/ipp.c |
|
index e0dbc4a..5e9a985 100644 |
|
--- a/scheduler/ipp.c |
|
+++ b/scheduler/ipp.c |
|
@@ -9891,11 +9891,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); |
|
- |
|
- 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); |
|
+ 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); |
|
} |
|
else |
|
{
|
|
|