From 414157e5440f32a8469c692822fb818c9fa92dfe Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 6 Mar 2003 21:42:11 +0000 Subject: s/g_strncasecmp/strncasecmp/g 2003-03-06 Jeffrey Stedfast * providers/imap/camel-imap-utils.c (imap_next_word): s/g_strncasecmp/strncasecmp/g * camel-iconv.c: Updated to be an exact copy of e-iconv (except names changed). We don't use this yet, but we may in the future. * camel-url.c (camel_url_new_with_base): Here too. * camel-sasl-kerberos4.c (krb4_challenge): Use camel_strdown() here instead of g_strdown() since the latter has been deprecated. * providers/imap/camel-imap-utils.c (imap_parse_body): Use camel_strdown() since g_ascii_strdown() does not do what we thought. * providers/imap/camel-imap-store.c: s/strstrcase/camel_strstrcase/g * providers/imap/camel-imap-folder.c (do_append): s/strstrcase/camel_strstrcase/ (handle_copyuid): Same. * string-utils.c (camel_strdown): New function because the g_ascii_strdown interface sucks. (camel_strstrcase): Renamed from strstrcase. svn path=/trunk/; revision=20213 --- camel/providers/imap/camel-imap-store.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'camel/providers/imap/camel-imap-store.c') diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c index b94751625d..9b7ddaf180 100644 --- a/camel/providers/imap/camel-imap-store.c +++ b/camel/providers/imap/camel-imap-store.c @@ -1202,7 +1202,7 @@ imap_connect_online (CamelService *service, CamelException *ex) imap_namespaces_destroy (namespaces); /* end new code */ - name = strstrcase (result, "NAMESPACE (("); + name = camel_strstrcase (result, "NAMESPACE (("); if (name) { char *sep; @@ -1528,7 +1528,7 @@ get_folder_status (CamelImapStore *imap_store, const char *folder_name, const ch if (!status) return -1; - p = strstrcase (status, type); + p = camel_strstrcase (status, type); if (p) out = strtoul (p + strlen (type), NULL, 10); else -- cgit v1.2.3