commit caba3d3d3f6e6b3c03f04fa20e1992bdbcb7e46d
parent 8dff98af1131189c46ab13c4ed5d895604300b22
Author: ukai <ukai>
Date: Mon, 7 Jul 2003 15:39:43 +0000
[w3m-dev 03927] deflate
* file.c (compression_decoder): .deflate for application/x-deflate's
extension
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat:
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,9 @@
+2003-07-08 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+
+ * [w3m-dev 03927] deflate
+ * file.c (compression_decoder): .deflate for application/x-deflate's
+ extension
+
2003-06-19 Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03916] Re: charset attribute of anchor tag
diff --git a/file.c b/file.c
@@ -173,7 +173,7 @@ static struct compression_decoder {
{ CMP_BZIP2, ".bz2", "application/x-bzip",
0, BUNZIP2_CMDNAME, BUNZIP2_NAME, "bzip, bzip2",
{"x-bzip", "bzip", "bzip2", NULL} },
- { CMP_DEFLATE, NULL, "application/x-deflate",
+ { CMP_DEFLATE, ".deflate", "application/x-deflate",
1, INFLATE_CMDNAME, INFLATE_NAME, "deflate",
{"deflate", "x-deflate", NULL} },
{ CMP_NOCOMPRESS, NULL, NULL, 0, NULL, NULL, NULL, {NULL}},