From bec105fa4143670fce9c69cdbe5e1e0268537359 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Fri, 30 Aug 2024 07:24:07 +0200 Subject: [PATCH] cups/dest.c: Set auth as required if not none Fixes #1037 --- cups/dest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cups/dest.c b/cups/dest.c index c9bea88ce..2693de611 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; }