diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-07-07 15:39:43 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-07-07 15:39:43 +0000 |
commit | 3c45cb485a6aac9c0123fb4d67e1cdfc93fb90ec (patch) | |
tree | ce7e78414a0b0355e63c55c702f178ea2bb809f9 /file.c | |
parent | [w3m-dev 03916] Re: charset attribute of anchor tag (diff) | |
download | w3m-3c45cb485a6aac9c0123fb4d67e1cdfc93fb90ec.tar.gz w3m-3c45cb485a6aac9c0123fb4d67e1cdfc93fb90ec.zip |
[w3m-dev 03927] deflate
* file.c (compression_decoder): .deflate for application/x-deflate's
extension
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.224 2003/05/13 17:38:47 ukai Exp $ */ +/* $Id: file.c,v 1.225 2003/07/07 15:39:43 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include "myctype.h" @@ -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}}, |