From: Zdenek Dohnal Date: Wed, 15 May 2024 10:57:14 +0000 (+0200) Subject: Fix CI failure due job-presets support X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc44852a678d9400ec87dbd4a0835ab552dd5bd2;p=thirdparty%2Fcups.git Fix CI failure due job-presets support --- diff --git a/scheduler/printers.c b/scheduler/printers.c index a70b51bb99..9e00b39f39 100644 --- a/scheduler/printers.c +++ b/scheduler/printers.c @@ -4085,7 +4085,7 @@ load_ppd(cupsd_printer_t *p) /* I - Printer */ } // job-presets-supported - for (attr = NULL, ppd_attr = ppdFindAttr(ppd, "APPrinterPreset", NULL); ppd_attr; ppd_attr = ppdFindAttr(ppd, "APPrinterPreset", NULL)) + for (attr = NULL, ppd_attr = ppdFindAttr(ppd, "APPrinterPreset", NULL); ppd_attr; ppd_attr = ppdFindNextAttr(ppd, "APPrinterPreset", NULL)) { ipp_t *col = ippNew();// job-presets-supported value cups_array_t *preset = cupsArrayNewStrings(ppd_attr->value, ' ');