mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
18 lines
731 B
Diff
18 lines
731 B
Diff
diff -up cups-1.6.4/scheduler/job.c.final-content-type cups-1.6.4/scheduler/job.c
|
|
--- cups-1.6.4/scheduler/job.c.final-content-type 2013-09-27 16:58:13.934775402 +0100
|
|
+++ cups-1.6.4/scheduler/job.c 2013-09-27 17:00:57.716549576 +0100
|
|
@@ -692,12 +692,7 @@ cupsdContinueJob(cupsd_job_t *job) /* I
|
|
|
|
if (!job->printer->remote)
|
|
{
|
|
- for (filter = (mime_filter_t *)cupsArrayLast(filters);
|
|
- filter && filter->dst;
|
|
- filter = (mime_filter_t *)cupsArrayPrev(filters))
|
|
- if (strcmp(filter->dst->super, "printer") ||
|
|
- strcmp(filter->dst->type, job->printer->name))
|
|
- break;
|
|
+ filter = (mime_filter_t *)cupsArrayLast(filters);
|
|
|
|
if (filter && filter->dst)
|
|
{
|
|
|