aboutsummaryrefslogtreecommitdiffstats
path: root/url.c
diff options
context:
space:
mode:
authorDai Sato <satodai@w3m.jp>2006-05-29 12:54:26 +0000
committerDai Sato <satodai@w3m.jp>2006-05-29 12:54:26 +0000
commit4b0c2cecc3a8f364c9377c441b3eeac791f5dd29 (patch)
tree6f48fcc43d2a7e13a1011e1cca15ee11e08196f9 /url.c
parent[w3m-dev-en 01057] delete calls to GC from wrap_GC_warn_proc to avoid deadlocks. (diff)
downloadw3m-4b0c2cecc3a8f364c9377c441b3eeac791f5dd29.tar.gz
w3m-4b0c2cecc3a8f364c9377c441b3eeac791f5dd29.zip
[w3m-dev-en 01067] decode content-encoding in all situations.
Diffstat (limited to '')
-rw-r--r--url.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/url.c b/url.c
index 2eb6e45..86c2d47 100644
--- a/url.c
+++ b/url.c
@@ -1,4 +1,4 @@
-/* $Id: url.c,v 1.92 2006/04/07 13:21:12 inu Exp $ */
+/* $Id: url.c,v 1.93 2006/05/29 12:54:26 inu Exp $ */
#include "fm.h"
#include <sys/types.h>
#include <sys/socket.h>
@@ -1453,7 +1453,8 @@ init_stream(URLFile *uf, int scheme, InputStream stream)
uf->scheme = scheme;
uf->encoding = ENC_7BIT;
uf->is_cgi = FALSE;
- uf->compression = 0;
+ uf->compression = CMP_NOCOMPRESS;
+ uf->content_encoding = CMP_NOCOMPRESS;
uf->guess_type = NULL;
uf->ext = NULL;
uf->modtime = -1;