libcupsfilters: Let pdftopdf() not send NULL to log function
The variable holding the value of FINAL_CONTENT_TYPE is NULL when the
environment variable is not set. At one place the variable value gets
logged using the log function. Do not send NULL here, to avoid a crash
of the log function.
@@ -867,7 +867,8 @@ bool checkFeature(const char *feature, int num_options, cups_option_t *options)
"%s => pdftopdf will %slog pages in "
"page_log.",
(lastfilter ? lastfilter : "None"),
- final_content_type,
+ (final_content_type ? final_content_type :
+ "(not supplied)"),
(param.page_logging == 0 ? "not " : ""));
}
}
