summaryrefslogtreecommitdiff
path: root/src/modules/common
diff options
context:
space:
mode:
authorRoberto C. Sanchez <roberto@connexer.com>2014-03-29 10:54:04 -0400
committerRoberto C. Sanchez <roberto@connexer.com>2014-03-29 10:54:04 -0400
commitb745315323de9f27538edac9453205ca70e6186e (patch)
treee804cd15cf894a2a14aab6c5224bc242273dc3ba /src/modules/common
parent936d9e8484ff73282c8c0a277310d1ffdde86e10 (diff)
Imported Upstream version 1.6.2+dfsg
Diffstat (limited to 'src/modules/common')
-rw-r--r--src/modules/common/lzsscomprs.cpp4
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;