aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--mimehead.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 7f2d577..b4bc7e3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-12-22 Fumitoshi UKAI <ukai@debian.or.jp>
+
+ * mimehead.c (decodeWord): don't use toupper() (requires ctype.h)
+
2002-12-22 ABE Yuji <cbo46560@pop12.odn.ne.jp>
* [w3m-dev 03594] mime decode with encoding named 'b' & 'q'
@@ -6005,4 +6009,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.640 2002/12/21 16:20:40 ukai Exp $
+$Id: ChangeLog,v 1.641 2002/12/22 14:26:34 ukai Exp $
diff --git a/mimehead.c b/mimehead.c
index 8520626..00d08bd 100644
--- a/mimehead.c
+++ b/mimehead.c
@@ -1,4 +1,4 @@
-/* $Id: mimehead.c,v 1.5 2002/12/21 16:20:40 ukai Exp $ */
+/* $Id: mimehead.c,v 1.6 2002/12/22 14:26:34 ukai Exp $ */
/*
* MIME header support by Akinori ITO
*/
@@ -217,11 +217,13 @@ decodeWord(char **ow)
goto convert_fail;
w++;
p = w;
- switch (toupper(method)) {
+ switch (method) {
case 'B':
+ case 'b':
a = decodeB(&w);
break;
case 'Q':
+ case 'q':
a = decodeQ(&w);
break;
default: