From 53504c62ac9fed6950ac309cc112dafc7194710c Mon Sep 17 00:00:00 2001 From: jcid Date: Sat, 14 Jun 2008 02:51:07 +0200 Subject: - Added an error message to gzip decompression. --- src/decode.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/decode.c') 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; -- cgit v1.2.3