diff options
author | Denys Vlasenko | 2009-07-15 20:02:19 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-07-15 20:02:19 +0200 |
commit | 9038d6f8f50b59951a9dc3345cf7c8910f954c4a (patch) | |
tree | 3f7ab137e0993e5da6ef25c90d92966e4256700e /archival | |
parent | 7dd0ce49531b6340950b4a3eedbef1c958a475d9 (diff) | |
download | busybox-9038d6f8f50b59951a9dc3345cf7c8910f954c4a.zip busybox-9038d6f8f50b59951a9dc3345cf7c8910f954c4a.tar.gz |
remove trailing whitespace
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival')
-rw-r--r-- | archival/lzo1x_9x.c | 2 | ||||
-rw-r--r-- | archival/lzop.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/archival/lzo1x_9x.c b/archival/lzo1x_9x.c index d30e2e7..f2d4fac 100644 --- a/archival/lzo1x_9x.c +++ b/archival/lzo1x_9x.c @@ -304,7 +304,7 @@ static void swd_search(lzo_swd_p s, unsigned node, unsigned cnt) p2[1] == p1[1]) { unsigned i; assert(lzo_memcmp(bp,&b[node],3) == 0); - + p1 += 2; p2 += 2; do {} while (++p1 < px && *p1 == *++p2); i = p1-bp; diff --git a/archival/lzop.c b/archival/lzop.c index a30d5e7..b4757e8 100644 --- a/archival/lzop.c +++ b/archival/lzop.c @@ -856,7 +856,7 @@ static const unsigned char lzop_magic[9] = { /* This coding is derived from Alexander Lehmann's pngcheck code. */ static void check_magic(void) { - unsigned char magic[sizeof(lzop_magic)]; + unsigned char magic[sizeof(lzop_magic)]; xread(0, magic, sizeof(magic)); if (memcmp(magic, lzop_magic, sizeof(lzop_magic)) != 0) bb_error_msg_and_die("bad magic number"); @@ -948,7 +948,7 @@ static int read_header(header_t *h) /* skip extra field [not used yet] */ if (h->flags & F_H_EXTRA_FIELD) { uint32_t k; - + /* note: the checksum also covers the length */ init_chksum(&G.chksum_in); h->extra_field_len = f_read32(); @@ -1033,7 +1033,7 @@ static smallint do_lzo_compress(void) static smallint do_lzo_decompress(void) { header_t header; - + check_magic(); p_header(&header); return lzo_decompress(&header); |