aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-url.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-03-07 05:42:11 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-03-07 05:42:11 +0800
commit414157e5440f32a8469c692822fb818c9fa92dfe (patch)
treea2dd20b1750cbcd7b34693c5e8b377d71425e922 /camel/camel-url.c
parent0fc34dcc90c6ddeb276d2fd98ff80f77bce0d66b (diff)
downloadgsoc2013-evolution-414157e5440f32a8469c692822fb818c9fa92dfe.tar
gsoc2013-evolution-414157e5440f32a8469c692822fb818c9fa92dfe.tar.gz
gsoc2013-evolution-414157e5440f32a8469c692822fb818c9fa92dfe.tar.bz2
gsoc2013-evolution-414157e5440f32a8469c692822fb818c9fa92dfe.tar.lz
gsoc2013-evolution-414157e5440f32a8469c692822fb818c9fa92dfe.tar.xz
gsoc2013-evolution-414157e5440f32a8469c692822fb818c9fa92dfe.tar.zst
gsoc2013-evolution-414157e5440f32a8469c692822fb818c9fa92dfe.zip
s/g_strncasecmp/strncasecmp/g
2003-03-06 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'camel/camel-url.c')
-rw-r--r--camel/camel-url.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/camel/camel-url.c b/camel/camel-url.c
index c0544dde11..a78ba44b6a 100644
--- a/camel/camel-url.c
+++ b/camel/camel-url.c
@@ -34,6 +34,7 @@
#include <string.h>
#include "camel-url.h"
+#include "string-utils.h"
#include "camel-exception.h"
#include "camel-mime-utils.h"
#include "camel-object.h"
@@ -79,7 +80,7 @@ camel_url_new_with_base (CamelURL *base, const char *url_string)
if (p > url_string && *p == ':') {
url->protocol = g_strndup (url_string, p - url_string);
- g_ascii_strdown (url->protocol, -1);
+ camel_strdown (url->protocol);
url_string = p + 1;
}