diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-12-22 14:26:34 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-12-22 14:26:34 +0000 |
commit | 456fdb4d45c69857ba0d8905288911851322b9d0 (patch) | |
tree | 591d820bc5ba47c15cb5e906d1f2fcc022c3085f /mimehead.c | |
parent | [w3m-dev 03594] mime decode with encoding named 'b' & 'q' (diff) | |
download | w3m-456fdb4d45c69857ba0d8905288911851322b9d0.tar.gz w3m-456fdb4d45c69857ba0d8905288911851322b9d0.zip |
mimehead.c (decodeWord): don't use toupper() (requires ctype.h)
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'mimehead.c')
-rw-r--r-- | mimehead.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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: |