From: mike Date: Fri, 28 Sep 2012 19:51:06 +0000 (+0000) Subject: Abort the outer loop if we get a failure from Send-Document. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=08861878ba7c2a5fa3f76cf1fbbc0bc39c6b3a95;p=thirdparty%2Fcups.git Abort the outer loop if we get a failure from Send-Document. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10617 7a7537e8-13f0-0310-91df-b6672ffda945 --- diff --git a/backend/ipp.c b/backend/ipp.c index fcbf647d18..a53929ed46 100644 --- a/backend/ipp.c +++ b/backend/ipp.c @@ -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;