]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
cups/dest.c: Set auth as required if not none 1039/head
authorZdenek Dohnal <zdohnal@redhat.com>
Fri, 30 Aug 2024 05:24:07 +0000 (07:24 +0200)
committerZdenek Dohnal <zdohnal@redhat.com>
Fri, 30 Aug 2024 05:24:07 +0000 (07:24 +0200)
Fixes #1037

cups/dest.c

index c9bea88cee2fc148286f9109325fb7f8f932765c..2693de611ab66ce10d654653bbf41d26642bf48c 100644 (file)
@@ -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;
        }