From: Zdenek Dohnal Date: Mon, 2 Sep 2024 10:38:44 +0000 (+0200) Subject: cups/dest.c: Set auth as required if not none X-Git-Tag: v2.4.11~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d833bf70ca244bec2d03689acdd4f96588b51ec2;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 1c8bd67822..e971e6df62 100644 --- a/cups/dest.c +++ b/cups/dest.c @@ -3148,8 +3148,7 @@ cups_dnssd_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_PRINTER_AUTHENTICATED; else if (!_cups_strcasecmp(key, "bind") && !_cups_strcasecmp(value, "t"))