1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-07-16 15:04:37 -04:00

bzip2: buf must be the last.

This commit is contained in:
Witold Filipczyk 2007-01-07 21:48:34 +01:00 committed by Witold Filipczyk
parent 4d7c491a22
commit 79e59e9d6f

View File

@ -23,10 +23,10 @@
#define ELINKS_BZ_BUFFER_LENGTH BZ_MAX_UNUSED
struct bz2_enc_data {
unsigned char buf[ELINKS_BZ_BUFFER_LENGTH];
bz_stream fbz_stream;
int fdread;
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