diff options
author | Dai Sato <satodai@w3m.jp> | 2006-06-10 11:09:06 +0000 |
---|---|---|
committer | Dai Sato <satodai@w3m.jp> | 2006-06-10 11:09:06 +0000 |
commit | b8f63e0d98421075a1d9d050fbe79cfe249609ec (patch) | |
tree | 82258854bcfa5bcb2e325bdc232c1464da658ff4 /file.c | |
parent | Show progress status when dump_extra option is specified. [w3m-dev 03992] (diff) | |
download | w3m-b8f63e0d98421075a1d9d050fbe79cfe249609ec.tar.gz w3m-b8f63e0d98421075a1d9d050fbe79cfe249609ec.zip |
avoid decoding when dump_extra option is specified.
Diffstat (limited to '')
-rw-r--r-- | file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.244 2006/06/10 10:01:18 inu Exp $ */ +/* $Id: file.c,v 1.245 2006/06/10 11:09:06 inu Exp $ */ #include "fm.h" #include <sys/types.h> #include "myctype.h" @@ -2126,7 +2126,7 @@ loadGeneralFile(char *path, ParsedURL *volatile current, char *referer, return NO_BUFFER; } - if (f.content_encoding != CMP_NOCOMPRESS) { + if ((f.content_encoding != CMP_NOCOMPRESS) && !(w3m_dump & DUMP_EXTRA)) { uncompress_stream(&f, &pu.real_file); } else if (f.compression != CMP_NOCOMPRESS) { |