diff options
author | Hans Kristian Rosbach <hk-git@circlestorm.org> | 2015-06-25 22:34:06 +0200 |
---|---|---|
committer | Hans Kristian Rosbach <hk-git@circlestorm.org> | 2015-06-25 22:34:06 +0200 |
commit | 785a1ec85ffa6f1d700a7cdb975bffdd7f2e9ac5 (patch) | |
tree | e87d1bc40876ffe4c33a0a315c7245b22375a8af /deflate_slow.c | |
parent | 43580a20b6b78873605109e6d661bc3dc1677cd6 (diff) |
No need to update hash_head.
Plus a single style change to match the other deflate algorithms.
Diffstat (limited to 'deflate_slow.c')
-rw-r--r-- | deflate_slow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deflate_slow.c b/deflate_slow.c index 6c21234..6a855f0 100644 --- a/deflate_slow.c +++ b/deflate_slow.c @@ -97,7 +97,7 @@ block_state deflate_slow(deflate_state *s, int flush) { s->prev_length -= 2; do { if (++s->strstart <= max_insert) { - hash_head = insert_string(s, s->strstart); + insert_string(s, s->strstart); } } while (--s->prev_length != 0); s->match_available = 0; |