1
0
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:
Witold Filipczyk 2007-01-07 21:48:34 +01:00 committed by Kalle Olavi Niemitalo
parent 728c97556d
commit 1e7f26c33d

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