From 5be0f6c5c93b50e482fcfcb602a6e0384c3301f3 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Wed, 8 Dec 2010 21:23:41 +1100 Subject: [PATCH] Revert "Make sure chunk to compress is of a minimum size." This reverts commit 8dd1b6ea58f49b317cf0f2e48d9ca9afd967c5ee. --- rzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rzip.c b/rzip.c index e3281a1..c1ff787 100644 --- a/rzip.c +++ b/rzip.c @@ -544,7 +544,7 @@ static void hash_search(struct rzip_state *st, double pct_base, double pct_multi /* Flush stream 1 at equal intervals if the buffer has not * filled to bufsize */ if (sinfo->s[1].eos < p / (st->chunk_size / control.threads) && - sinfo->s[1].buflen >= STREAM_BUFSIZE) { + p >= STREAM_BUFSIZE) { flush_buffer(sinfo, 1); } sb.offset_search = p;