summaryrefslogtreecommitdiff
path: root/L4Code.c
diff options
context:
space:
mode:
Diffstat (limited to 'L4Code.c')
-rw-r--r--L4Code.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/L4Code.c b/L4Code.c
index 56a0a23..703168a 100644
--- a/L4Code.c
+++ b/L4Code.c
@@ -797,8 +797,6 @@ VOID L4BG()
// Fragment if more than L4CompPaclen
- // Entered with original first fragment in saveMsg;
-
// Check for too big a compressed frame size. Bigger compresses better but adds latency to link
maxCompSendLen = L4CompPaclen * L4CompMaxframe;
@@ -827,7 +825,7 @@ VOID L4BG()
if (Len > ChunkSize)
Len = ChunkSize;
- complen = L2Compressit(Compressed, 8192, toCompress, toCompressLen);
+ complen = L2Compressit(Compressed, 8192, toCompress, Len);
Debugprintf("Chunked %d %d %d%%", Len, complen, ((Len - complen) * 100) / Len);