From: Zdenek Dohnal Date: Fri, 30 Aug 2024 05:24:07 +0000 (+0200) Subject: cups/dest.c: Set auth as required if not none X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bec105fa4143670fce9c69cdbe5e1e0268537359;p=thirdparty%2Fcups.git cups/dest.c: Set auth as required if not none Fixes #1037 --- diff --git a/cups/dest.c b/cups/dest.c index c9bea88cee..2693de611a 100644 --- a/cups/dest.c +++ b/cups/dest.c @@ -2808,7 +2808,7 @@ cups_dest_query_cb( } else if (!saw_printer_type) { - if (!_cups_strcasecmp(key, "air") && !_cups_strcasecmp(value, "t")) + if (!_cups_strcasecmp(key, "air") && _cups_strcasecmp(value, "none")) { type |= CUPS_PTYPE_AUTHENTICATED; }