]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix authenticated printing bug.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Mon, 25 Apr 2011 23:20:36 +0000 (23:20 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Mon, 25 Apr 2011 23:20:36 +0000 (23:20 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@9718 7a7537e8-13f0-0310-91df-b6672ffda945

backend/ipp.c

index 95c7a99eb7c02c8b86db77c56322a7e2bd98cfdc..1edacee035d35004469abd38450ec96eff746e1b 100644 (file)
@@ -1129,7 +1129,8 @@ main(int  argc,                           /* I - Number of command-line args */
       _cupsLangPrintFilter(stderr, "INFO", _("The printer is busy."));
       sleep(10);
     }
-    else if (ipp_status == IPP_NOT_AUTHORIZED || ipp_status == IPP_FORBIDDEN)
+    else if (ipp_status == IPP_NOT_AUTHORIZED || ipp_status == IPP_FORBIDDEN ||
+            ipp_status == IPP_AUTHENTICATION_CANCELED)
     {
      /*
       * Update auth-info-required as needed...