]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - cups/patches/cups-filter-debug.patch
Change file layout of the makefiles.
[people/arne_f/ipfire-3.x.git] / cups / patches / cups-filter-debug.patch
1 diff -up cups-1.4rc1/scheduler/job.c.filter-debug cups-1.4rc1/scheduler/job.c
2 --- cups-1.4rc1/scheduler/job.c.filter-debug 2009-06-23 18:10:57.125572911 +0100
3 +++ cups-1.4rc1/scheduler/job.c 2009-06-23 18:11:31.495572481 +0100
4 @@ -544,10 +544,28 @@ cupsdContinueJob(cupsd_job_t *job) /* I
5
6 if (!filters)
7 {
8 + mime_filter_t *current;
9 +
10 cupsdLogJob(job, CUPSD_LOG_ERROR,
11 "Unable to convert file %d to printable format!",
12 job->current_file);
13
14 + cupsdLogJob(job, CUPSD_LOG_ERROR,
15 + "Required: %s/%s -> %s/%s",
16 + job->filetypes[job->current_file]->super,
17 + job->filetypes[job->current_file]->type,
18 + job->printer->filetype->super,
19 + job->printer->filetype->type);
20 +
21 + for (current = (mime_filter_t *)cupsArrayFirst(MimeDatabase->srcs);
22 + current;
23 + current = (mime_filter_t *)cupsArrayNext(MimeDatabase->srcs))
24 + cupsdLogJob(job, CUPSD_LOG_ERROR,
25 + "Available: %s/%s -> %s/%s (%s)",
26 + current->src->super, current->src->type,
27 + current->dst->super, current->dst->type,
28 + current->filter);
29 +
30 abort_message = "Aborting job because it cannot be printed.";
31 abort_state = IPP_JOB_ABORTED;
32