diff options
author | jcid <devnull@localhost> | 2008-06-14 02:51:07 +0200 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-06-14 02:51:07 +0200 |
commit | 53504c62ac9fed6950ac309cc112dafc7194710c (patch) | |
tree | 4c1bb9c27fca146a6230cd096597146a257186ed /src/decode.c | |
parent | a75d5e40677ec8fb244876817cf1f0b64abe33dd (diff) |
- Added an error message to gzip decompression.
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; |