equal
deleted
inserted
replaced
419 |
419 |
420 if (!io->seek(io, entry->offset + (encrypted ? 12 : 0))) |
420 if (!io->seek(io, entry->offset + (encrypted ? 12 : 0))) |
421 return 0; |
421 return 0; |
422 |
422 |
423 inflateEnd(&finfo->stream); |
423 inflateEnd(&finfo->stream); |
424 inflateCopy(&finfo->stream, &str); |
424 memcpy(&finfo->stream, &str, sizeof (z_stream)); |
425 inflateEnd(&str); |
|
426 finfo->uncompressed_position = finfo->compressed_position = 0; |
425 finfo->uncompressed_position = finfo->compressed_position = 0; |
427 |
426 |
428 if (encrypted) |
427 if (encrypted) |
429 memcpy(finfo->crypto_keys, finfo->initial_crypto_keys, 12); |
428 memcpy(finfo->crypto_keys, finfo->initial_crypto_keys, 12); |
430 } /* if */ |
429 } /* if */ |