mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
bzip2: buf must be the last.
This commit is contained in:
parent
728c97556d
commit
1e7f26c33d
@ -23,10 +23,10 @@
|
|||||||
#define ELINKS_BZ_BUFFER_LENGTH BZ_MAX_UNUSED
|
#define ELINKS_BZ_BUFFER_LENGTH BZ_MAX_UNUSED
|
||||||
|
|
||||||
struct bz2_enc_data {
|
struct bz2_enc_data {
|
||||||
unsigned char buf[ELINKS_BZ_BUFFER_LENGTH];
|
|
||||||
bz_stream fbz_stream;
|
bz_stream fbz_stream;
|
||||||
int fdread;
|
int fdread;
|
||||||
int last_read; /* If err after last bzDecompress was BZ_STREAM_END.. */
|
int last_read; /* If err after last bzDecompress was BZ_STREAM_END.. */
|
||||||
|
unsigned char buf[ELINKS_BZ_BUFFER_LENGTH]; /* must be the last */
|
||||||
};
|
};
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
Loading…
Reference in New Issue
Block a user