File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 88 * the file "COPYING".
99 */
1010
11- /*
12- * Include necessary headers.
13- */
14-
1511#include "file.h"
1612#include <cups/http.h>
1713#include "progress.h"
@@ -525,10 +521,10 @@ file_find_check(const char *filename) /* I - File or URL */
525521
526522 if (!httpGet (http , connpath ))
527523 {
528- while ((status = httpUpdate (http )) == HTTP_CONTINUE );
524+ while ((status = httpUpdate (http )) == HTTP_STATUS_CONTINUE );
529525 }
530526 else
531- status = HTTP_ERROR ;
527+ status = HTTP_STATUS_ERROR ;
532528
533529 if (status >= HTTP_STATUS_MULTIPLE_CHOICES && status < HTTP_STATUS_BAD_REQUEST )
534530 {
@@ -549,7 +545,7 @@ file_find_check(const char *filename) /* I - File or URL */
549545 }
550546 }
551547
552- if (status != HTTP_OK )
548+ if (status != HTTP_STATUS_OK )
553549 {
554550 progress_hide ();
555551 progress_error ((HDerror )status , "%s (%s)" , httpStatus (status ), filename );
You can’t perform that action at this time.
0 commit comments