X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/25b5d3aa852eb145beea1d3abcbe57e75f2e59a7..035c5db34:/sbr/fmt_rfc2047.c?ds=sidebyside diff --git a/sbr/fmt_rfc2047.c b/sbr/fmt_rfc2047.c index 7f73efd2..5e5a5a8e 100644 --- a/sbr/fmt_rfc2047.c +++ b/sbr/fmt_rfc2047.c @@ -11,7 +11,6 @@ #include #ifdef HAVE_ICONV # include -# include #endif static signed char hexindex[] = { @@ -147,7 +146,7 @@ decode_rfc2047 (char *str, char *dst, size_t dstlen) /* .. it can't. We'll use iconv then. */ *endofcharset = '\0'; cd = iconv_open(get_charset(), startofmime); - fromutf8 = !mh_strcasecmp(startofmime, "UTF-8"); + fromutf8 = !strcasecmp(startofmime, "UTF-8"); *pp = '?'; if (cd == (iconv_t)-1) continue; use_iconv = 1;