diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-02-05 07:36:01 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-02-05 07:36:01 +0800 |
commit | fb9018a61e7e52de12b525ecece617315611ff44 (patch) | |
tree | 7509ab7d56e6ea34c935d0852ee26f1890a57c3f /camel/providers/imap/camel-imap-utils.c | |
parent | bb0bada2315a9ca85c6669350ba0c7d911eaf64e (diff) | |
download | gsoc2013-evolution-fb9018a61e7e52de12b525ecece617315611ff44.tar gsoc2013-evolution-fb9018a61e7e52de12b525ecece617315611ff44.tar.gz gsoc2013-evolution-fb9018a61e7e52de12b525ecece617315611ff44.tar.bz2 gsoc2013-evolution-fb9018a61e7e52de12b525ecece617315611ff44.tar.lz gsoc2013-evolution-fb9018a61e7e52de12b525ecece617315611ff44.tar.xz gsoc2013-evolution-fb9018a61e7e52de12b525ecece617315611ff44.tar.zst gsoc2013-evolution-fb9018a61e7e52de12b525ecece617315611ff44.zip |
Use g_ascii_strdown() instead of g_strdown, since g_strdown is deprecated.
2003-02-04 Jeffrey Stedfast <fejj@ximian.com>
* 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 <fejj@ximian.com>
* 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
Diffstat (limited to 'camel/providers/imap/camel-imap-utils.c')
-rw-r--r-- | camel/providers/imap/camel-imap-utils.c | 10 |
1 files changed, 5 insertions, 5 deletions
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); |