From 69518a8578eccd7c7113f53378d4d65c4ef8db00 Mon Sep 17 00:00:00 2001 From: msweet Date: Fri, 31 May 2013 13:29:59 +0000 Subject: [PATCH] 13A459 Printing completely broken on MBP after upgrade to Cab Fix httpFlushWrite, which was incorrectly updating data_remaining. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11003 a1ca3aef-8c08-0410-bb20-df032aa958be --- cups/http.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/cups/http.c b/cups/http.c index 046b20c522..8ac7674012 100644 --- a/cups/http.c +++ b/cups/http.c @@ -959,19 +959,8 @@ httpFlushWrite(http_t *http) /* I - Connection to server */ if (http->data_encoding == HTTP_ENCODING_CHUNKED) bytes = http_write_chunk(http, http->wbuffer, http->wused); else - { bytes = http_write(http, http->wbuffer, http->wused); - if (bytes > 0 && http->data_encoding == HTTP_ENCODING_LENGTH) - { - http->data_remaining -= bytes; - - if (http->data_remaining <= 0) - { - } - } - } - http->wused = 0; DEBUG_printf(("1httpFlushWrite: Returning %d, errno=%d.", bytes, errno)); -- 2.47.2