From: msweet Date: Sun, 22 Dec 2013 05:17:53 +0000 (+0000) Subject: The IPP backend did not wait for a busy printer to become available before attempting... X-Git-Tag: v2.2b1~785 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb383c319ddce93a6700b08dd0264531da895cb2;p=thirdparty%2Fcups.git The IPP backend did not wait for a busy printer to become available before attempting to print () When busy, set the last IPP status to busy so we retry. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11490 a1ca3aef-8c08-0410-bb20-df032aa958be --- diff --git a/CHANGES-1.7.txt b/CHANGES-1.7.txt index 2acff3fa42..b72b5c4dcd 100644 --- a/CHANGES-1.7.txt +++ b/CHANGES-1.7.txt @@ -28,6 +28,8 @@ CHANGES IN CUPS V1.7.1 () - Shared printers could become inaccessible after a few days on OS X () + - The IPP backend did not wait for a busy printer to become available + before attempting to print () CHANGES IN CUPS V1.7.0 diff --git a/backend/ipp.c b/backend/ipp.c index d42e27fd1f..39b3d1cae5 100644 --- a/backend/ipp.c +++ b/backend/ipp.c @@ -1024,7 +1024,8 @@ main(int argc, /* I - Number of command-line args */ delay = _cupsNextDelay(delay, &prev_delay); ippDelete(supported); - supported = NULL; + supported = NULL; + ipp_status = IPP_STATUS_ERROR_BUSY; continue; } }