aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap4/camel-imap4-store.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2004-06-24 11:01:42 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-06-24 11:01:42 +0800
commit758f7345f5c427fd060da29d82f59b9e7ada87d3 (patch)
treee2f16abee1f5dff388cb6469c7095c087a5b33b0 /camel/providers/imap4/camel-imap4-store.c
parent73e4659023c5f2ec11c5e7c974aef116bb320c68 (diff)
downloadgsoc2013-evolution-758f7345f5c427fd060da29d82f59b9e7ada87d3.tar
gsoc2013-evolution-758f7345f5c427fd060da29d82f59b9e7ada87d3.tar.gz
gsoc2013-evolution-758f7345f5c427fd060da29d82f59b9e7ada87d3.tar.bz2
gsoc2013-evolution-758f7345f5c427fd060da29d82f59b9e7ada87d3.tar.lz
gsoc2013-evolution-758f7345f5c427fd060da29d82f59b9e7ada87d3.tar.xz
gsoc2013-evolution-758f7345f5c427fd060da29d82f59b9e7ada87d3.tar.zst
gsoc2013-evolution-758f7345f5c427fd060da29d82f59b9e7ada87d3.zip
Same.
2004-06-23 Jeffrey Stedfast <fejj@novell.com> * providers/imap/camel-imap-provider.c (imap_url_equal): Same. * providers/imap4/camel-imap4-provider.c (imap4_url_equal): Check the protocol. svn path=/trunk/; revision=26488
Diffstat (limited to 'camel/providers/imap4/camel-imap4-store.c')
-rw-r--r--camel/providers/imap4/camel-imap4-store.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/camel/providers/imap4/camel-imap4-store.c b/camel/providers/imap4/camel-imap4-store.c
index 4223ab0c32..834ff93252 100644
--- a/camel/providers/imap4/camel-imap4-store.c
+++ b/camel/providers/imap4/camel-imap4-store.c
@@ -98,15 +98,16 @@ imap4_hash_folder_name (gconstpointer key)
return g_str_hash (key);
}
-static gint
+static int
imap4_compare_folder_name (gconstpointer a, gconstpointer b)
{
gconstpointer aname = a, bname = b;
-
+
if (g_ascii_strcasecmp (a, "INBOX") == 0)
aname = "INBOX";
if (g_ascii_strcasecmp (b, "INBOX") == 0)
bname = "INBOX";
+
return g_str_equal (aname, bname);
}