CUPS bugfix for https://github.com/apple/cups/issues/5296 (follow-up of boo#936309 and bsc#577936 starting at comment 13) OBS-URL: https://build.opensuse.org/request/show/597767 OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=349
12 lines
552 B
Diff
12 lines
552 B
Diff
--- scheduler/conf.c.orig 2018-03-23 21:39:17.000000000 +0100
|
|
+++ scheduler/conf.c 2018-04-18 13:38:45.000000000 +0200
|
|
@@ -3853,7 +3853,7 @@ read_policy(cups_file_t *fp, /* I - Con
|
|
if (num_ops < (int)(sizeof(ops) / sizeof(ops[0])))
|
|
{
|
|
if (!_cups_strcasecmp(value, "All"))
|
|
- ops[num_ops] = IPP_ANY_OPERATION;
|
|
+ ops[num_ops ++] = IPP_ANY_OPERATION;
|
|
else if ((ops[num_ops] = ippOpValue(value)) == IPP_BAD_OPERATION)
|
|
cupsdLogMessage(CUPSD_LOG_ERROR,
|
|
"Bad IPP operation name \"%s\" on line %d of %s.",
|