From fb9018a61e7e52de12b525ecece617315611ff44 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 4 Feb 2003 23:36:01 +0000 Subject: Use g_ascii_strdown() instead of g_strdown, since g_strdown is deprecated. 2003-02-04 Jeffrey Stedfast * providers/imap/camel-imap-utils.c (imap_parse_body): Use g_ascii_strdown() instead of g_strdown, since g_strdown is deprecated. (imap_parse_body): Same. * providers/imap/camel-imap-folder.c (decode_internaldate): Use strncasecmp() here too. (parse_fetch_response): And here. (camel_imap_folder_selected): Here too. * providers/imap/camel-imap-utils.c (imap_namespace_decode): Use strncasecmp() instead of g_strncasecmp() because the latter is deprecated. * providers/imap/camel-imap-store.c (imap_get_capability): Again here. (hash_folder_name): Here too. (compare_folder_name): And here. (get_folder_online): Again. (get_folder_offline): And again. * providers/imap/camel-imap-folder.c (camel_imap_folder_selected): Same as below again. * providers/imap/camel-imap-command.c (camel_imap_response_free): Same as below. * providers/smtp/camel-smtp-transport.c (smtp_data): Use strcasecmp() because g_strcasecmp() is deprecated. * camel-url.c (camel_url_new_with_base): Use g_ascii_strdown() instead of g_strdown, since g_strdown is deprecated. 2003-01-28 Jeffrey Stedfast * camel-sasl-gssapi.c (gssapi_challenge): Pass in some default flags to gss_init_sec_context() (these default flags are defined as a MUST in rfc1964). svn path=/trunk/; revision=19748 --- camel/providers/imap/camel-imap-utils.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'camel/providers/imap/camel-imap-utils.c') diff --git a/camel/providers/imap/camel-imap-utils.c b/camel/providers/imap/camel-imap-utils.c index bb8fdef00a..181ca3e1a4 100644 --- a/camel/providers/imap/camel-imap-utils.c +++ b/camel/providers/imap/camel-imap-utils.c @@ -95,7 +95,7 @@ imap_namespace_decode (const char **in, struct _namespace **namespace) list = NULL; tail = (struct _namespace *) &list; - if (g_strncasecmp (inptr, "NIL", 3) != 0) { + if (strncasecmp (inptr, "NIL", 3) != 0) { if (*inptr++ != '(') goto exception; @@ -127,7 +127,7 @@ imap_namespace_decode (const char **in, struct _namespace **namespace) /* get the namespace directory delimiter */ inptr = imap_next_word (inptr); - if (!g_strncasecmp (inptr, "NIL", 3)) { + if (!strncasecmp (inptr, "NIL", 3)) { inptr = imap_next_word (inptr); node->delim = '\0'; } else if (*inptr++ == '"') { @@ -819,7 +819,7 @@ imap_parse_body (const char **body_p, CamelFolder *folder, return; } - g_strdown (subtype); + g_ascii_strdown (subtype, -1); ci->type = header_content_type_new ("multipart", subtype); g_free (subtype); @@ -848,8 +848,8 @@ imap_parse_body (const char **body_p, CamelFolder *folder, *body_p = NULL; return; } - g_strdown (main_type); - g_strdown (subtype); + g_ascii_strdown (main_type, -1); + g_ascii_strdown (subtype, -1); type = header_content_type_new (main_type, subtype); g_free (main_type); g_free (subtype); -- cgit v1.2.3