diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-15 20:02:19 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-15 20:02:19 +0200 |
commit | 9038d6f8f50b59951a9dc3345cf7c8910f954c4a (patch) | |
tree | 3f7ab137e0993e5da6ef25c90d92966e4256700e /archival/lzop.c | |
parent | 7dd0ce49531b6340950b4a3eedbef1c958a475d9 (diff) | |
download | busybox-w32-9038d6f8f50b59951a9dc3345cf7c8910f954c4a.tar.gz busybox-w32-9038d6f8f50b59951a9dc3345cf7c8910f954c4a.tar.bz2 busybox-w32-9038d6f8f50b59951a9dc3345cf7c8910f954c4a.zip |
remove trailing whitespace
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/lzop.c')
-rw-r--r-- | archival/lzop.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archival/lzop.c b/archival/lzop.c index a30d5e78b..b4757e86d 100644 --- a/archival/lzop.c +++ b/archival/lzop.c | |||
@@ -856,7 +856,7 @@ static const unsigned char lzop_magic[9] = { | |||
856 | /* This coding is derived from Alexander Lehmann's pngcheck code. */ | 856 | /* This coding is derived from Alexander Lehmann's pngcheck code. */ |
857 | static void check_magic(void) | 857 | static void check_magic(void) |
858 | { | 858 | { |
859 | unsigned char magic[sizeof(lzop_magic)]; | 859 | unsigned char magic[sizeof(lzop_magic)]; |
860 | xread(0, magic, sizeof(magic)); | 860 | xread(0, magic, sizeof(magic)); |
861 | if (memcmp(magic, lzop_magic, sizeof(lzop_magic)) != 0) | 861 | if (memcmp(magic, lzop_magic, sizeof(lzop_magic)) != 0) |
862 | bb_error_msg_and_die("bad magic number"); | 862 | bb_error_msg_and_die("bad magic number"); |
@@ -948,7 +948,7 @@ static int read_header(header_t *h) | |||
948 | /* skip extra field [not used yet] */ | 948 | /* skip extra field [not used yet] */ |
949 | if (h->flags & F_H_EXTRA_FIELD) { | 949 | if (h->flags & F_H_EXTRA_FIELD) { |
950 | uint32_t k; | 950 | uint32_t k; |
951 | 951 | ||
952 | /* note: the checksum also covers the length */ | 952 | /* note: the checksum also covers the length */ |
953 | init_chksum(&G.chksum_in); | 953 | init_chksum(&G.chksum_in); |
954 | h->extra_field_len = f_read32(); | 954 | h->extra_field_len = f_read32(); |
@@ -1033,7 +1033,7 @@ static smallint do_lzo_compress(void) | |||
1033 | static smallint do_lzo_decompress(void) | 1033 | static smallint do_lzo_decompress(void) |
1034 | { | 1034 | { |
1035 | header_t header; | 1035 | header_t header; |
1036 | 1036 | ||
1037 | check_magic(); | 1037 | check_magic(); |
1038 | p_header(&header); | 1038 | p_header(&header); |
1039 | return lzo_decompress(&header); | 1039 | return lzo_decompress(&header); |