]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/request.c
cupsDoIORequest could miss the server status, causing failed lpadmin and other admini...
[thirdparty/cups.git] / cups / request.c
index 2f909f392245f36f856127882bc2e2fe052d165e..f4e7e8892b56e49c11b827606f2f31e3452a8886 100644 (file)
@@ -245,7 +245,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)
     {
       response = cupsGetResponse(http, resource);
       status   = httpGetStatus(http);