porting 1.4.4 rev. 1968 (fixed SF# 3559665, etc.)

This commit is contained in:
Aleksandar Fabijanic
2012-08-23 03:15:19 +00:00
parent dbda035719
commit 2a6d58c7f2
4 changed files with 27 additions and 8 deletions

View File

@@ -190,7 +190,6 @@ int InflatingStreamBuf::readFromDevice(char* buffer, std::streamsize length)
_pIstr->read(_buffer, INFLATE_BUFFER_SIZE);
n = static_cast<int>(_pIstr->gcount());
}
if (n == 0) return 0;
_zstr.next_in = (unsigned char*) _buffer;
_zstr.avail_in = n;
}