Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '7zip/Archive/7z/7zFolderOutStream.cpp')
-rwxr-xr-x7zip/Archive/7z/7zFolderOutStream.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/7zip/Archive/7z/7zFolderOutStream.cpp b/7zip/Archive/7z/7zFolderOutStream.cpp
index bb770ccc..93bed3d9 100755
--- a/7zip/Archive/7z/7zFolderOutStream.cpp
+++ b/7zip/Archive/7z/7zFolderOutStream.cpp
@@ -48,7 +48,8 @@ HRESULT CFolderOutStream::OpenFile()
UInt32 index = _startIndex + _currentIndex;
RINOK(_extractCallback->GetStream(_ref2Offset + index, &realOutStream, askMode));
- _outStreamWithHashSpec->Init(realOutStream);
+ _outStreamWithHashSpec->SetStream(realOutStream);
+ _outStreamWithHashSpec->Init();
if (askMode == NArchive::NExtract::NAskMode::kExtract &&
(!realOutStream))
{