aboutsummaryrefslogtreecommitdiffstats
path: root/mimehead.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-12-21 16:20:40 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-12-21 16:20:40 +0000
commit29ea24810f892bf3ea2ec9bb6ceea1258ea7c462 (patch)
tree85be16d8fa9afa191e3c65ebe6e439d13cfa4897 /mimehead.c
parent* file.c (discardline): not used (diff)
downloadw3m-29ea24810f892bf3ea2ec9bb6ceea1258ea7c462.tar.gz
w3m-29ea24810f892bf3ea2ec9bb6ceea1258ea7c462.zip
[w3m-dev 03594] mime decode with encoding named 'b' & 'q'
* mimehead.c (decodeWord): toupeer(method) From: ABE Yuji <cbo46560@pop12.odn.ne.jp>
Diffstat (limited to 'mimehead.c')
-rw-r--r--mimehead.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mimehead.c b/mimehead.c
index 3fc044c..8520626 100644
--- a/mimehead.c
+++ b/mimehead.c
@@ -1,4 +1,4 @@
-/* $Id: mimehead.c,v 1.4 2001/11/24 02:01:26 ukai Exp $ */
+/* $Id: mimehead.c,v 1.5 2002/12/21 16:20:40 ukai Exp $ */
/*
* MIME header support by Akinori ITO
*/
@@ -217,7 +217,7 @@ decodeWord(char **ow)
goto convert_fail;
w++;
p = w;
- switch (method) {
+ switch (toupper(method)) {
case 'B':
a = decodeB(&w);
break;