diff options
Diffstat (limited to 'src/decode.c')
-rw-r--r-- | src/decode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/decode.c b/src/decode.c index 6846c820..af1d578d 100644 --- a/src/decode.c +++ b/src/decode.c @@ -105,6 +105,8 @@ static Dstr *Decode_gzip(Decode *dc, const char *instr, int inlen) zs->total_out = 0; zs->total_in = 0; + } else if (rc == Z_DATA_ERROR) { + MSG_ERR("gzip decompression error\n"); } } return output; |