aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorDai Sato <satodai@w3m.jp>2006-06-10 11:09:06 +0000
committerDai Sato <satodai@w3m.jp>2006-06-10 11:09:06 +0000
commitb8f63e0d98421075a1d9d050fbe79cfe249609ec (patch)
tree82258854bcfa5bcb2e325bdc232c1464da658ff4 /file.c
parentShow progress status when dump_extra option is specified. [w3m-dev 03992] (diff)
downloadw3m-b8f63e0d98421075a1d9d050fbe79cfe249609ec.tar.gz
w3m-b8f63e0d98421075a1d9d050fbe79cfe249609ec.zip
avoid decoding when dump_extra option is specified.
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.c b/file.c
index 1433ad3..b3552dc 100644
--- a/file.c
+++ b/file.c
@@ -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) {