summaryrefslogtreecommitdiff
path: root/L4Code.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-07-22 20:57:03 +0100
committerDave Hibberd <hibby@debian.org>2025-07-22 20:57:03 +0100
commit1cc87cf7663179e46d40e316276f2604bc8a7872 (patch)
tree3f2080524be7d2b41616b758bd65d4745a055e79 /L4Code.c
parent30b1e26a04be2474ebda4cac931831dabb89eb74 (diff)
parent1f40ff4a07793ecfa679a1384053451c4f3f536f (diff)
Update upstream source from tag 'upstream/6.0.24.77+repack'
Update to upstream version '6.0.24.77+repack' with Debian dir bbbd57413e9e0c750630f2d175419335251e159d
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);