diff options
author | Jacob Leach <jleach@src.gnome.org> | 2000-05-03 22:43:10 +0800 |
---|---|---|
committer | Jacob Leach <jleach@src.gnome.org> | 2000-05-03 22:43:10 +0800 |
commit | 3ccfb61399e6148be5a8b3141f35af272d10622d (patch) | |
tree | 3a171695399026c3796f7a1413969f62ff72677c /camel/camel-mime-part.c | |
parent | 8813178854a02d8374701b9c32231356ae17b98e (diff) | |
download | gsoc2013-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.c')
-rw-r--r-- | camel/camel-mime-part.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c index fa22cf9dcb..744f2a7247 100644 --- a/camel/camel-mime-part.c +++ b/camel/camel-mime-part.c @@ -25,6 +25,7 @@ #include <config.h> #include <string.h> +#include <glib.h> #include "camel-mime-part.h" #include <stdio.h> #include "gmime-content-field.h" @@ -605,13 +606,13 @@ camel_mime_part_encoding_from_string (const gchar *string) { if (string == NULL) return CAMEL_MIME_PART_ENCODING_DEFAULT; - else if (strcasecmp (string, "7bit") == 0) + else if (g_strcasecmp (string, "7bit") == 0) return CAMEL_MIME_PART_ENCODING_7BIT; - else if (strcasecmp (string, "8bit") == 0) + else if (g_strcasecmp (string, "8bit") == 0) return CAMEL_MIME_PART_ENCODING_8BIT; - else if (strcasecmp (string, "base64") == 0) + else if (g_strcasecmp (string, "base64") == 0) return CAMEL_MIME_PART_ENCODING_BASE64; - else if (strcasecmp (string, "quoted-printable") == 0) + else if (g_strcasecmp (string, "quoted-printable") == 0) return CAMEL_MIME_PART_ENCODING_QUOTEDPRINTABLE; else /* FIXME? Spit a warning? */ |