]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
The IPP backend did not wait for a busy printer to become available before attempting...
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Sun, 22 Dec 2013 05:17:53 +0000 (05:17 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Sun, 22 Dec 2013 05:17:53 +0000 (05:17 +0000)
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

CHANGES-1.7.txt
backend/ipp.c

index 2acff3fa42383ba73282043edb17364751a8bf9c..b72b5c4dcd4525a1a9b0deb82a87c1bd6b7977eb 100644 (file)
@@ -28,6 +28,8 @@ CHANGES IN CUPS V1.7.1
          (<rdar://problem/15564888>)
        - Shared printers could become inaccessible after a few days on OS X
          (<rdar://problem/15426838>)
+       - The IPP backend did not wait for a busy printer to become available
+         before attempting to print (<rdar://problem/15465667>)
 
 
 CHANGES IN CUPS V1.7.0
index d42e27fd1f0c751298bd523f7dccc8b52fc20d21..39b3d1cae508be9ece1935c9c2878b3b7e1cb6ab 100644 (file)
@@ -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;
       }
     }