From 456fdb4d45c69857ba0d8905288911851322b9d0 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Sun, 22 Dec 2002 14:26:34 +0000 Subject: mimehead.c (decodeWord): don't use toupper() (requires ctype.h) From: Fumitoshi UKAI --- mimehead.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mimehead.c') 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: -- cgit v1.2.3