aboutsummaryrefslogtreecommitdiff
path: root/archival/gzip.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-01-28 02:24:24 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-01-28 02:24:24 +0100
commit6b9f1633537e2ff06eb1a0741e4598a294f40fcb (patch)
treea13f4f3558c2988bc95b5a59c9996da64a0bd570 /archival/gzip.c
parent17323a6245597f16321e6bf99536ae9bb89c79cf (diff)
downloadbusybox-w32-6b9f1633537e2ff06eb1a0741e4598a294f40fcb.tar.gz
busybox-w32-6b9f1633537e2ff06eb1a0741e4598a294f40fcb.tar.bz2
busybox-w32-6b9f1633537e2ff06eb1a0741e4598a294f40fcb.zip
*: style fixes. no code changes (verified with objdump)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/gzip.c')
-rw-r--r--archival/gzip.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/archival/gzip.c b/archival/gzip.c
index 139eaacea..f9c8e4d4b 100644
--- a/archival/gzip.c
+++ b/archival/gzip.c
@@ -620,10 +620,12 @@ static int longest_match(IPos cur_match)
620 /* Skip to next match if the match length cannot increase 620 /* Skip to next match if the match length cannot increase
621 * or if the match length is less than 2: 621 * or if the match length is less than 2:
622 */ 622 */
623 if (match[best_len] != scan_end || 623 if (match[best_len] != scan_end
624 match[best_len - 1] != scan_end1 || 624 || match[best_len - 1] != scan_end1
625 *match != *scan || *++match != scan[1]) 625 || *match != *scan || *++match != scan[1]
626 ) {
626 continue; 627 continue;
628 }
627 629
628 /* The check at best_len-1 can be removed because it will be made 630 /* The check at best_len-1 can be removed because it will be made
629 * again later. (This heuristic is not always a win.) 631 * again later. (This heuristic is not always a win.)