aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part-utils.c
diff options
context:
space:
mode:
authorJacob Leach <jleach@src.gnome.org>2000-05-03 22:43:10 +0800
committerJacob Leach <jleach@src.gnome.org>2000-05-03 22:43:10 +0800
commit3ccfb61399e6148be5a8b3141f35af272d10622d (patch)
tree3a171695399026c3796f7a1413969f62ff72677c /camel/camel-mime-part-utils.c
parent8813178854a02d8374701b9c32231356ae17b98e (diff)
downloadgsoc2013-evolution-3ccfb61399e6148be5a8b3141f35af272d10622d.tar.gz
gsoc2013-evolution-3ccfb61399e6148be5a8b3141f35af272d10622d.tar.zst
gsoc2013-evolution-3ccfb61399e6148be5a8b3141f35af272d10622d.zip
s/strcasecmp/g_strcasecamp/ everywhere except intl/, per michael's
request. svn path=/trunk/; revision=2776
Diffstat (limited to 'camel/camel-mime-part-utils.c')
-rw-r--r--camel/camel-mime-part-utils.c9
1 files changed, 5 insertions, 4 deletions
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 <config.h>
#include <string.h>
+#include <glib.h>
#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) {