aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
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/providers
parent8813178854a02d8374701b9c32231356ae17b98e (diff)
downloadgsoc2013-evolution-3ccfb61399e6148be5a8b3141f35af272d10622d.tar
gsoc2013-evolution-3ccfb61399e6148be5a8b3141f35af272d10622d.tar.gz
gsoc2013-evolution-3ccfb61399e6148be5a8b3141f35af272d10622d.tar.bz2
gsoc2013-evolution-3ccfb61399e6148be5a8b3141f35af272d10622d.tar.lz
gsoc2013-evolution-3ccfb61399e6148be5a8b3141f35af272d10622d.tar.xz
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/providers')
-rw-r--r--camel/providers/mbox/camel-mbox-summary.c10
-rw-r--r--camel/providers/nntp/camel-nntp-utils.c10
-rw-r--r--camel/providers/pop3/camel-pop3-store.c2
3 files changed, 11 insertions, 11 deletions
diff --git a/camel/providers/mbox/camel-mbox-summary.c b/camel/providers/mbox/camel-mbox-summary.c
index 35b7945e49..01deaef19a 100644
--- a/camel/providers/mbox/camel-mbox-summary.c
+++ b/camel/providers/mbox/camel-mbox-summary.c
@@ -595,7 +595,7 @@ header_write(int fd, struct _header_raw *header, unsigned int uid, unsigned int
iv[3].iov_len = 1;
while (header) {
- if (strcasecmp(header->name, "x-evolution")) {
+ if (g_strcasecmp(header->name, "x-evolution")) {
int len;
iv[0].iov_base = header->name;
@@ -876,12 +876,12 @@ static int index_folder(CamelMboxSummary *s, int startoffset)
messages/message parts */
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 decoding filter for base64\n"));
if (mf64 == NULL)
mf64 = camel_mime_filter_basic_new_type(CAMEL_MIME_FILTER_BASIC_BASE64_DEC);
enc_id = camel_mime_parser_filter_add(mp, (CamelMimeFilter *)mf64);
- } else if (!strcasecmp(encoding, "quoted-printable")) {
+ } else if (!g_strcasecmp(encoding, "quoted-printable")) {
d(printf("Adding decoding filter for quoted-printable\n"));
if (mfqp == NULL)
mfqp = camel_mime_filter_basic_new_type(CAMEL_MIME_FILTER_BASIC_QP_DEC);
@@ -892,8 +892,8 @@ static int index_folder(CamelMboxSummary *s, int startoffset)
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));
if (mfc == NULL)
mfc = camel_mime_filter_charset_new_convert(charset, "utf-8");
diff --git a/camel/providers/nntp/camel-nntp-utils.c b/camel/providers/nntp/camel-nntp-utils.c
index 4ee93fc572..b89ae120da 100644
--- a/camel/providers/nntp/camel-nntp-utils.c
+++ b/camel/providers/nntp/camel-nntp-utils.c
@@ -155,15 +155,15 @@ get_HEAD_headers(CamelNNTPStore *nntp_store, CamelFolder *folder,
for (h = 0; h < header_array->len; h ++) {
Rfc822Header *header = &((Rfc822Header*)header_array->data)[h];
- if (!strcasecmp(header->name, "From"))
+ if (!g_strcasecmp(header->name, "From"))
info.headers.sender = g_strdup(header->value);
- else if (!strcasecmp(header->name, "To"))
+ else if (!g_strcasecmp(header->name, "To"))
info.headers.to = g_strdup(header->value);
- else if (!strcasecmp(header->name, "Subject"))
+ else if (!g_strcasecmp(header->name, "Subject"))
info.headers.subject = g_strdup(header->value);
- else if (!strcasecmp(header->name, "Message-ID"))
+ else if (!g_strcasecmp(header->name, "Message-ID"))
info.headers.uid = g_strdup(header->value);
- else if (!strcasecmp(header->name, "Date")) {
+ else if (!g_strcasecmp(header->name, "Date")) {
info.headers.sent_date = g_strdup(header->value);
info.headers.received_date = g_strdup(header->value);
}
diff --git a/camel/providers/pop3/camel-pop3-store.c b/camel/providers/pop3/camel-pop3-store.c
index 3713c086a6..4f4410234d 100644
--- a/camel/providers/pop3/camel-pop3-store.c
+++ b/camel/providers/pop3/camel-pop3-store.c
@@ -353,7 +353,7 @@ static char *
get_folder_name (CamelStore *store, const char *folder_name,
CamelException *ex)
{
- if (!strcasecmp (folder_name, "inbox"))
+ if (!g_strcasecmp (folder_name, "inbox"))
return g_strdup ("inbox");
else {
camel_exception_setv (ex, CAMEL_EXCEPTION_FOLDER_INVALID,