IPP Everywhere queue (Issues #340, #343)
- Re-added LibreSSL/OpenSSL support (Issue #362)
- Updated the Solaris smf service file (Issue #368)
+- Fixed a regression in lpoptions option support (Issue #370)
- The scheduler now regenerates the PPD cache information after changing the
"cupsd.conf" file (Issue #371)
- Updated the scheduler to set "auth-info-required" to "username,password" if a
}
for (k = dest->num_options, option = dest->options; k > 0; k --, option ++)
- user_dest->num_options = cupsAddOption(option->name, option->value, user_dest->num_options, &user_dest->options);
+ {
+ if (!cupsGetOption(option->name, user_dest->num_options, user_dest->options))
+ user_dest->num_options = cupsAddOption(option->name, option->value, user_dest->num_options, &user_dest->options);
+ }
if (!(*cb)(user_data, i > 1 ? CUPS_DEST_FLAGS_MORE : CUPS_DEST_FLAGS_NONE, user_dest))
break;
}
for (k = dest->num_options, option = dest->options; k > 0; k --, option ++)
- user_dest->num_options = cupsAddOption(option->name, option->value, user_dest->num_options, &user_dest->options);
+ {
+ if (!cupsGetOption(option->name, user_dest->num_options, user_dest->options))
+ user_dest->num_options = cupsAddOption(option->name, option->value, user_dest->num_options, &user_dest->options);
+ }
if (!(*cb)(user_data, CUPS_DEST_FLAGS_NONE, user_dest))
break;