libcupsfilters: Let universal() pass FINAL_CONTENT_TYPE to pdftopdf()
pdftopdf() uses the FINAL_CONTENT_TYPE environment variable to
determine whether to log the printed pages and for other things, so
the universal() filter function should pass it through.
@@ -219,7 +219,7 @@ universal(int inputfd, /* I - File descriptor input stream */
if (strcmp(output_type, "pdf")) {
filter = malloc(sizeof(filter_filter_in_chain_t));
filter->function = pdftopdf;
- filter->parameters = NULL;
+ filter->parameters = strdup(output);
filter->name = "pdftopdf";
cupsArrayAdd(filter_chain, filter);
if (log) log(ld, FILTER_LOGLEVEL_DEBUG,
