summaryrefslogtreecommitdiffstats
path: root/lzlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lzlib.c')
-rw-r--r--lzlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lzlib.c b/lzlib.c
index 4105205..23dd0ac 100644
--- a/lzlib.c
+++ b/lzlib.c
@@ -486,7 +486,7 @@ int LZ_decompress_read( struct LZ_Decoder * const d,
{ d->rdec->member_position += Cb_used_bytes( &d->rdec->cb );
Cb_reset( &d->rdec->cb );
d->lz_errno = LZ_unexpected_eof; }
- else if( result == 5 ) d->lz_errno = LZ_library_error;
+ else if( result == 6 ) d->lz_errno = LZ_library_error;
else d->lz_errno = LZ_data_error;
d->fatal = true;
if( Cb_empty( &d->lz_decoder->cb ) ) return -1;