From: Michael R Sweet Date: Tue, 16 Apr 2024 13:52:31 +0000 (-0400) Subject: Fix typos. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d3d3598e5ab33555bdc913f828cb958ad2ee2a0;p=thirdparty%2Fcups.git Fix typos. --- diff --git a/cups/cachebench.c b/cups/cachebench.c index 410894d3ce..bbcb310738 100644 --- a/cups/cachebench.c +++ b/cups/cachebench.c @@ -119,7 +119,7 @@ main(int argc, // I - Number of command-line args return (1); } - pc = _ppdCacheCreateWithPPD(ppd); + pc = _ppdCacheCreateWithPPD(NULL, ppd); pc_attrs = create_attrs(pc); gettimeofday(&endtime, NULL); diff --git a/scheduler/printers.c b/scheduler/printers.c index e67d32b41d..f309600e9c 100644 --- a/scheduler/printers.c +++ b/scheduler/printers.c @@ -4011,7 +4011,7 @@ load_ppd(cupsd_printer_t *p) /* I - Printer */ ippAddStrings(p->ppd_attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "job-creation-attributes-supported", sizeof(job_creation_print) / sizeof(job_creation_print[0]), NULL, job_creation_print); } - if ((ppd = _ppdOpenFile(ppd_name, _PPD_LOCALIZATION_NONE)) != NULL) + if ((ppd = ppdOpenFile(ppd_name)) != NULL) { /* * Add make/model and other various attributes...