From: mike Date: Tue, 22 Jan 2013 13:15:09 +0000 (+0000) Subject: Fix a decompression bug. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=493e8e5af63efef2722427c69af99e528d40681d;p=thirdparty%2Fcups.git Fix a decompression bug. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10835 7a7537e8-13f0-0310-91df-b6672ffda945 --- diff --git a/cups/http.c b/cups/http.c index c7bd394271..2075ec2d08 100644 --- a/cups/http.c +++ b/cups/http.c @@ -2340,8 +2340,13 @@ httpRead2(http_t *http, /* I - Connection to server */ else if (bytes == 0) break; + DEBUG_printf(("1httpRead2: Adding " CUPS_LLFMT " bytes to " + "decompression buffer.", CUPS_LLCAST bytes)); + http->data_remaining -= bytes; http->stream.avail_in += bytes; + + bytes = 0; } else return (0);