diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-07-24 23:41:24 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-07-24 23:41:24 -0400 |
commit | b99a92fe722e9229f4c1395c13e6b6b40ff6e03f (patch) | |
tree | 3b35edbc8cd8bceb18641b7f82ea4f4d577e334f /zinflate.cpp | |
parent | 57337a5479cddd5d0509c127200faff23b9a7f5c (diff) | |
download | cryptopp-git-b99a92fe722e9229f4c1395c13e6b6b40ff6e03f.tar.gz |
Whitespace checkin
Diffstat (limited to 'zinflate.cpp')
-rw-r--r-- | zinflate.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/zinflate.cpp b/zinflate.cpp index 86bc2ed7..adffca01 100644 --- a/zinflate.cpp +++ b/zinflate.cpp @@ -1,7 +1,7 @@ // zinflate.cpp - written and placed in the public domain by Wei Dai
// This is a complete reimplementation of the DEFLATE decompression algorithm.
-// It should not be affected by any security vulnerabilities in the zlib
+// It should not be affected by any security vulnerabilities in the zlib
// compression library. In particular it is not affected by the double free bug
// (http://www.kb.cert.org/vuls/id/368819).
@@ -123,7 +123,7 @@ void HuffmanDecoder::Initialize(const unsigned int *codeBits, unsigned int nCode // compute a vector of <code, length, value> triples sorted by code
m_codeToValue.resize(nCodes - blCount[0]);
unsigned int j=0;
- for (i=0; i<nCodes; i++)
+ for (i=0; i<nCodes; i++)
{
unsigned int len = codeBits[i];
if (len != 0)
@@ -265,7 +265,7 @@ void Inflator::OutputString(const byte *string, size_t length) }
string += len;
length -= len;
- }
+ }
}
void Inflator::OutputPast(unsigned int length, unsigned int distance)
@@ -485,7 +485,7 @@ bool Inflator::DecodeBody() const byte *block = m_inQueue.Spy(size);
size = UnsignedMin(m_storedLen, size);
assert(size <= 0xffff);
-
+
OutputString(block, size);
m_inQueue.Skip(size);
m_storedLen = m_storedLen - (word16)size;
|