diff options
Diffstat (limited to 'toys')
-rw-r--r-- | toys/pending/compress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/pending/compress.c b/toys/pending/compress.c index 5605a354..bc69a035 100644 --- a/toys/pending/compress.c +++ b/toys/pending/compress.c @@ -170,7 +170,7 @@ static void output_byte(char sym) TT.data[pos] = sym; - if (!pos) { + if (pos == 32767) { xwrite(TT.outfd, TT.data, 32768); if (TT.crcfunc) TT.crcfunc(TT.data, 32768); } |