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 'CPP/7zip/Archive/GZip/GZipOut.cpp')
-rwxr-xr-xCPP/7zip/Archive/GZip/GZipOut.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/CPP/7zip/Archive/GZip/GZipOut.cpp b/CPP/7zip/Archive/GZip/GZipOut.cpp
index af01c79f..3d0d4f7a 100755
--- a/CPP/7zip/Archive/GZip/GZipOut.cpp
+++ b/CPP/7zip/Archive/GZip/GZipOut.cpp
@@ -12,11 +12,7 @@ namespace NGZip {
HRESULT COutArchive::WriteBytes(const void *buffer, UInt32 size)
{
- UInt32 processedSize;
- RINOK(WriteStream(m_Stream, buffer, size, &processedSize));
- if(processedSize != size)
- return E_FAIL;
- return S_OK;
+ return WriteStream(m_Stream, buffer, size);
}
HRESULT COutArchive::WriteByte(Byte value)