From 29ea24810f892bf3ea2ec9bb6ceea1258ea7c462 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Sat, 21 Dec 2002 16:20:40 +0000 Subject: [w3m-dev 03594] mime decode with encoding named 'b' & 'q' * mimehead.c (decodeWord): toupeer(method) From: ABE Yuji --- mimehead.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mimehead.c') 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; -- cgit v1.2.3