mirror of
https://github.com/rkd77/elinks.git
synced 2024-08-25 21:44:47 -04:00
bzip2: buf must be the last.
This commit is contained in:
parent
4d7c491a22
commit
79e59e9d6f
@ -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