From b745315323de9f27538edac9453205ca70e6186e Mon Sep 17 00:00:00 2001 From: "Roberto C. Sanchez" Date: Sat, 29 Mar 2014 10:54:04 -0400 Subject: Imported Upstream version 1.6.2+dfsg --- src/modules/common/lzsscomprs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/common/lzsscomprs.cpp') 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; -- cgit v1.2.3