diff options
author | Roberto C. Sanchez <roberto@connexer.com> | 2014-03-29 10:54:04 -0400 |
---|---|---|
committer | Roberto C. Sanchez <roberto@connexer.com> | 2014-03-29 10:54:04 -0400 |
commit | b745315323de9f27538edac9453205ca70e6186e (patch) | |
tree | e804cd15cf894a2a14aab6c5224bc242273dc3ba /src/modules/common/lzsscomprs.cpp | |
parent | 936d9e8484ff73282c8c0a277310d1ffdde86e10 (diff) |
Imported Upstream version 1.6.2+dfsg
Diffstat (limited to 'src/modules/common/lzsscomprs.cpp')
-rw-r--r-- | src/modules/common/lzsscomprs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/common/lzsscomprs.cpp b/src/modules/common/lzsscomprs.cpp index 00177db..624942d 100644 --- a/src/modules/common/lzsscomprs.cpp +++ b/src/modules/common/lzsscomprs.cpp @@ -618,9 +618,9 @@ void LZSSCompress::Decode(void) break; if (SendChars((char *) c, 1) != 1) { - totalLen++; break; } + totalLen++; // Add to buffer, and increment to next spot. Wrap at end. @@ -673,9 +673,9 @@ void LZSSCompress::Decode(void) // Add the "len" :characters to the output stream. if (SendChars((char *) c, len) != (unsigned int)len) { - totalLen += len; break; } + totalLen += len; } } slen = totalLen; |