From b40815d63b686fa625364bdfd41dbbed1fdc8449 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 1 Jun 2010 09:11:33 +0000 Subject: *** empty log message *** --- lzf_c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lzf_c.c') diff --git a/lzf_c.c b/lzf_c.c index eb5927b..bc07084 100644 --- a/lzf_c.c +++ b/lzf_c.c @@ -150,7 +150,6 @@ lzf_compress (const void *const in_data, unsigned int in_len, && ref < ip /* the next test will actually take care of this, but this is faster */ #endif && (off = ip - ref - 1) < MAX_OFF - && ip + 4 < in_end && ref > (u8 *)in_data && ref[2] == ip[2] #if STRICT_ALIGN @@ -218,6 +217,7 @@ lzf_compress (const void *const in_data, unsigned int in_len, } *op++ = off; + lit = 0; op++; /* start run */ ip += len + 1; -- cgit v1.2.3