]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/request.c
Import CUPS v1.7.2
[thirdparty/cups.git] / cups / request.c
index 817169b6a79b9021562eca8f9fc41ec6a184a295..6d27bdeaaa25b01cc3462e7bb3e5fbb47495eda6 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: request.c 11174 2013-07-23 12:33:52Z msweet $"
+ * "$Id: request.c 11739 2014-03-26 21:06:04Z msweet $"
  *
  *   IPP utilities for CUPS.
  *
@@ -261,7 +261,7 @@ cupsDoIORequest(http_t     *http,   /* I - Connection to server or @code CUPS_HTTP
     * Get the server's response...
     */
 
-    if (status != HTTP_STATUS_ERROR)
+    if (status <= HTTP_STATUS_CONTINUE || status == HTTP_STATUS_OK)
     {
       response = cupsGetResponse(http, resource);
       status   = httpGetStatus(http);
@@ -1177,5 +1177,5 @@ _cupsSetHTTPError(http_status_t status)   /* I - HTTP status code */
 
 
 /*
- * End of "$Id: request.c 11174 2013-07-23 12:33:52Z msweet $".
+ * End of "$Id: request.c 11739 2014-03-26 21:06:04Z msweet $".
  */