Skip to content

Commit c8b979a

Browse files
Merge pull request #38 from AtariDreams/patch-2
Replace (http_status_t)0 correct HTTP_STATUS code
2 parents 03cfe51 + b0b85c4 commit c8b979a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cups/request.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ cupsSendRequest(http_t *http, /* I - Connection to server or `CUPS_HTTP_DEFA
824824
* Don't try using the Expect: header the next time around...
825825
*/
826826

827-
expect = (http_status_t)0;
827+
expect = HTTP_STATUS_NONE;
828828

829829
DEBUG_puts("2cupsSendRequest: Reconnecting after "
830830
"HTTP_EXPECTATION_FAILED.");

0 commit comments

Comments
 (0)