No bzero in MSVC

This commit is contained in:
Frederic Bouvier 2012-10-29 08:48:55 +01:00
parent 71be1a9e28
commit 4854a9e320

View File

@ -451,7 +451,7 @@ private:
headersComplete();
if (contentGZip || contentDeflate) {
bzero(&zlib, sizeof(z_stream));
memset(&zlib, 0, sizeof(z_stream));
if (!zlibOutputBuffer) {
zlibOutputBuffer = (unsigned char*) malloc(ZLIB_DECOMPRESS_BUFFER_SIZE);
}