aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder-summary.c
diff options
context:
space:
mode:
authorS.Çağlar Onur <caglar@uludag.org.tr>2004-12-01 11:03:09 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-12-01 11:03:09 +0800
commitb53f63d528ae0b1f4567b997d7a74552c370640f (patch)
tree861c3caf4afc0fc5f144e7cdb70529323a7a7a01 /camel/camel-folder-summary.c
parent218b3bf88cfa2576e79b1a3a548d6d46493d982f (diff)
downloadgsoc2013-evolution-b53f63d528ae0b1f4567b997d7a74552c370640f.tar
gsoc2013-evolution-b53f63d528ae0b1f4567b997d7a74552c370640f.tar.gz
gsoc2013-evolution-b53f63d528ae0b1f4567b997d7a74552c370640f.tar.bz2
gsoc2013-evolution-b53f63d528ae0b1f4567b997d7a74552c370640f.tar.lz
gsoc2013-evolution-b53f63d528ae0b1f4567b997d7a74552c370640f.tar.xz
gsoc2013-evolution-b53f63d528ae0b1f4567b997d7a74552c370640f.tar.zst
gsoc2013-evolution-b53f63d528ae0b1f4567b997d7a74552c370640f.zip
** See bug #69446.
2004-11-28 S.Çağlar Onur <caglar@uludag.org.tr> ** See bug #69446. * evolution-2.0.2/camel/camel-charset-map.c (camel_charset_iso_to_windows) * evolution-2.0.2/camel/camel-filter-search.c (check_header) * evolution-2.0.2/camel/camel-folder-search.c (check_header) * evolution-2.0.2/camel/camel-folder-summary.c (message_info_new,summary_build_content_info,camel_system_flag) * evolution-2.0.2/camel/camel-html-parser.c (camel_html_parser_attr) * evolution-2.0.2/camel/camel-mime-filter-enriched.c (param_parse,camel_mime_filter_enriched_init) * evolution-2.0.2/camel/camel-mime-parser.c (folder_scan_step,main) * evolution-2.0.2/camel/camel-mime-utils.c (camel_header_param,camel_header_set_param,camel_content_type_is,camel_transfer_encoding_from_string,camel_conten t_type_format,camel_content_type_simple,camel_header_decode_date,header_raw_find_node) * evolution-2.0.2/camel/camel-sasl-digest-md5.c (decode_data_type) * evolution-2.0.2/camel/providers/imap/camel-imap-command.c (camel_imap_response_free) * evolution-2.0.2/camel/providers/imap/camel-imap-folder.c (camel_imap_folder_new,camel_imap_folder_selected,imap_refresh_info,camel_imap_folder_new,camel_i map_folder_selected) * evolution-2.0.2/camel/providers/imap/camel-imap-store.c (imap_get_capability,imap_connect_online,get_folder_online,get_folder_offline,get_subscribed_folde rs,folder_hash,get_folders) * evolution-2.0.2/camel/providers/pop3/camel-pop3-store.c (get_folder) * evolution-2.0.2/camel/tests/lib/folders.c: (test_folder_message_ops) some strcasecmp() calls changed with g_ascii_strcasecmp() for Turkish character conversiton problems [ http://www.i18nguy.com/unicode/turkish-i18n.html ] svn path=/trunk/; revision=28019
Diffstat (limited to 'camel/camel-folder-summary.c')
-rw-r--r--camel/camel-folder-summary.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c
index 57bf2712dd..2a165a7b6f 100644
--- a/camel/camel-folder-summary.c
+++ b/camel/camel-folder-summary.c
@@ -1949,21 +1949,21 @@ summary_build_content_info(CamelFolderSummary *s, CamelMessageInfo *msginfo, Cam
encoding = camel_content_transfer_encoding_decode(camel_mime_parser_header(mp, "content-transfer-encoding", NULL));
if (encoding) {
- if (!strcasecmp(encoding, "base64")) {
+ if (!g_ascii_strcasecmp(encoding, "base64")) {
d(printf(" decoding base64\n"));
if (p->filter_64 == NULL)
p->filter_64 = camel_mime_filter_basic_new_type(CAMEL_MIME_FILTER_BASIC_BASE64_DEC);
else
camel_mime_filter_reset((CamelMimeFilter *)p->filter_64);
enc_id = camel_mime_parser_filter_add(mp, (CamelMimeFilter *)p->filter_64);
- } else if (!strcasecmp(encoding, "quoted-printable")) {
+ } else if (!g_ascii_strcasecmp(encoding, "quoted-printable")) {
d(printf(" decoding quoted-printable\n"));
if (p->filter_qp == NULL)
p->filter_qp = camel_mime_filter_basic_new_type(CAMEL_MIME_FILTER_BASIC_QP_DEC);
else
camel_mime_filter_reset((CamelMimeFilter *)p->filter_qp);
enc_id = camel_mime_parser_filter_add(mp, (CamelMimeFilter *)p->filter_qp);
- } else if (!strcasecmp (encoding, "x-uuencode")) {
+ } else if (!g_ascii_strcasecmp (encoding, "x-uuencode")) {
d(printf(" decoding x-uuencode\n"));
if (p->filter_uu == NULL)
p->filter_uu = camel_mime_filter_basic_new_type(CAMEL_MIME_FILTER_BASIC_UU_DEC);
@@ -1978,8 +1978,8 @@ summary_build_content_info(CamelFolderSummary *s, CamelMessageInfo *msginfo, Cam
charset = camel_content_type_param(ct, "charset");
if (charset!=NULL
- && !(strcasecmp(charset, "us-ascii")==0
- || strcasecmp(charset, "utf-8")==0)) {
+ && !(g_ascii_strcasecmp(charset, "us-ascii")==0
+ || g_ascii_strcasecmp(charset, "utf-8")==0)) {
d(printf(" Adding conversion filter from %s to UTF-8\n", charset));
mfc = g_hash_table_lookup(p->filter_charset, charset);
if (mfc == NULL) {
@@ -2461,7 +2461,7 @@ camel_system_flag (const char *name)
g_return_val_if_fail (name != NULL, 0);
for (flag = flag_names; *flag->name; flag++)
- if (!strcasecmp (name, flag->name))
+ if (!g_ascii_strcasecmp (name, flag->name))
return flag->value;
return 0;