]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Abort the outer loop if we get a failure from Send-Document.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 28 Sep 2012 19:51:06 +0000 (19:51 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 28 Sep 2012 19:51:06 +0000 (19:51 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10617 7a7537e8-13f0-0310-91df-b6672ffda945

backend/ipp.c

index fcbf647d1855639e4f613599d91798f54ca627fa..a53929ed46aff12516a32db437ae13ccee453d85 100644 (file)
@@ -1689,11 +1689,12 @@ main(int  argc,                         /* I - Number of command-line args */
       continue;
     else if (ipp_status == IPP_REQUEST_VALUE ||
              ipp_status == IPP_ERROR_JOB_CANCELED ||
-             ipp_status == IPP_NOT_AUTHORIZED)
+             ipp_status == IPP_NOT_AUTHORIZED ||
+             ipp_status == IPP_INTERNAL_ERROR)
     {
      /*
-      * Print file is too large, job was canceled, or we need new
-      * authentication data...
+      * Print file is too large, job was canceled, we need new
+      * authentication data, or we had some sort of error...
       */
 
       goto cleanup;