From 06cefec35c5d1d09aef40a025afbe51d3e5da41b Mon Sep 17 00:00:00 2001 From: msweet Date: Wed, 23 Oct 2013 20:33:21 +0000 Subject: [PATCH] Mirror fix from trunk. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/branches/branch-1.7@11356 a1ca3aef-8c08-0410-bb20-df032aa958be --- cups/http.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cups/http.c b/cups/http.c index 736ea5e9bf..fa1836c89e 100644 --- a/cups/http.c +++ b/cups/http.c @@ -4169,12 +4169,16 @@ http_content_coding_finish( http_t *http) /* I - HTTP connection */ { int zerr; /* Compression status */ + Byte dummy[1]; /* Dummy read buffer */ switch (http->coding) { case _HTTP_CODING_DEFLATE : case _HTTP_CODING_GZIP : + http->stream.next_in = dummy; + http->stream.avail_in = 0; + do { http->stream.next_out = (Bytef *)http->wbuffer + http->wused; -- 2.47.2