summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-06-14 02:51:07 +0200
committerjcid <devnull@localhost>2008-06-14 02:51:07 +0200
commit53504c62ac9fed6950ac309cc112dafc7194710c (patch)
tree4c1bb9c27fca146a6230cd096597146a257186ed /src
parenta75d5e40677ec8fb244876817cf1f0b64abe33dd (diff)
- Added an error message to gzip decompression.
Diffstat (limited to 'src')
-rw-r--r--src/decode.c2
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;