diff options
author | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-10-03 20:40:43 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-10-03 20:40:43 +0200 |
commit | 85d6170c351e6fc3ec42e4f59fe465c4e09556ba (patch) | |
tree | 0de54985f2a33a7f9d7413b55c5135458903ad82 /sys/src/cmd/mothra/rdhtml.c | |
parent | 001ce57253f99e1a988a630ddf6bb05815bace80 (diff) |
mothra: ignore http content-type and encoding and just do content sniffing
Diffstat (limited to 'sys/src/cmd/mothra/rdhtml.c')
-rw-r--r-- | sys/src/cmd/mothra/rdhtml.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/src/cmd/mothra/rdhtml.c b/sys/src/cmd/mothra/rdhtml.c index e3b915262..fa3bbc8cc 100644 --- a/sys/src/cmd/mothra/rdhtml.c +++ b/sys/src/cmd/mothra/rdhtml.c @@ -609,8 +609,6 @@ void plrdhtml(char *name, int fd, Www *dst){ dst->title[0]='\0'; g.spacc=0; g.form=0; - g.charset[0] = '\0'; - strncpy(g.charset, dst->url->charset, sizeof(g.charset)); for(;;) switch(pl_gettoken(&g)){ case TAG: |