From f8bfbef0a705629ae2aefa71dc06b7d64fbd5274 Mon Sep 17 00:00:00 2001 From: NotZed Date: Thu, 4 May 2000 05:45:30 +0000 Subject: No, we're not going to have g_strcasecmp for no good reason, not even if its slipped in with no changelog. 2000-05-04 NotZed * providers/mbox/camel-mbox-summary.c: Yes, and anotherone. * camel-mime-utils.c: And another one. * camel-mime-part.c: And another one. * camel-mime-part-utils.c: And another one. * camel-folder-search.c: And another one. * camel-mime-parser.c: Reverted a change wihtout a ChangeLog entry. 2000-05-04 NotZed * camel-folder-summary.[hc]: Yes, CamelFolderSummary is back ... ... re-usable class to summarise and index any stream or message and to manage/load/save the created summaries. * camel-folder.c: Include string.h to kill a warning. 2000-05-03 NotZed * camel-folder.h: Added pos/bodypos/endpos to the basic message content info object. Size to be removed? Moved the messageconentinfo and messageinfo back to camel-folder-summary.h. * camel-mime-filter-index.c (camel_mime_filter_index_set_ibex): New function to (re)set the index to use on a filter. * camel-mime-parser.c (camel_mime_parser_scan_from): Whole bunch of inline docs. (camel_mime_parser_drop_step): New function to drop a state from the parser. Needs more testing. svn path=/trunk/; revision=2789 --- camel/providers/mbox/camel-mbox-summary.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'camel/providers') diff --git a/camel/providers/mbox/camel-mbox-summary.c b/camel/providers/mbox/camel-mbox-summary.c index 01deaef19a..35b7945e49 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 (g_strcasecmp(header->name, "x-evolution")) { + if (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 (!g_strcasecmp(encoding, "base64")) { + if (!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 (!g_strcasecmp(encoding, "quoted-printable")) { + } else if (!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 - && !(g_strcasecmp(charset, "us-ascii")==0 - || g_strcasecmp(charset, "utf-8")==0)) { + && !(strcasecmp(charset, "us-ascii")==0 + || 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"); -- cgit v1.2.3