From 3ccfb61399e6148be5a8b3141f35af272d10622d Mon Sep 17 00:00:00 2001 From: Jacob Leach Date: Wed, 3 May 2000 14:43:10 +0000 Subject: s/strcasecmp/g_strcasecamp/ everywhere except intl/, per michael's request. svn path=/trunk/; revision=2776 --- camel/camel-mime-part-utils.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'camel/camel-mime-part-utils.c') diff --git a/camel/camel-mime-part-utils.c b/camel/camel-mime-part-utils.c index adbc62d305..ac2c81ad0a 100644 --- a/camel/camel-mime-part-utils.c +++ b/camel/camel-mime-part-utils.c @@ -23,6 +23,7 @@ */ #include #include +#include #include "gmime-content-field.h" #include "string-utils.h" #include "camel-mime-part-utils.h" @@ -70,11 +71,11 @@ simple_data_wrapper_construct_from_parser(CamelDataWrapper *dw, CamelMimeParser /* first, work out conversion, if any, required, we dont care about what we dont know about */ encoding = header_content_encoding_decode(camel_mime_parser_header(mp, "content-transfer-encoding", NULL)); if (encoding) { - if (!strcasecmp(encoding, "base64")) { + if (!g_strcasecmp(encoding, "base64")) { d(printf("Adding base64 decoder ...\n")); fdec = (CamelMimeFilter *)camel_mime_filter_basic_new_type(CAMEL_MIME_FILTER_BASIC_BASE64_DEC); decid = camel_mime_parser_filter_add(mp, fdec); - } else if (!strcasecmp(encoding, "quoted-printable")) { + } else if (!g_strcasecmp(encoding, "quoted-printable")) { d(printf("Adding quoted-printable decoder ...\n")); fdec = (CamelMimeFilter *)camel_mime_filter_basic_new_type(CAMEL_MIME_FILTER_BASIC_QP_DEC); decid = camel_mime_parser_filter_add(mp, fdec); @@ -87,8 +88,8 @@ simple_data_wrapper_construct_from_parser(CamelDataWrapper *dw, CamelMimeParser if (header_content_type_is(ct, "text", "*")) { const char *charset = header_content_type_param(ct, "charset"); if (charset!=NULL - && !(strcasecmp(charset, "us-ascii")==0 - || strcasecmp(charset, "utf-8")==0)) { + && !(g_strcasecmp(charset, "us-ascii")==0 + || g_strcasecmp(charset, "utf-8")==0)) { d(printf("Adding conversion filter from %s to utf-8\n", charset)); fch = (CamelMimeFilter *)camel_mime_filter_charset_new_convert(charset, "utf-8"); if (fch) { -- cgit v1.2.3