aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-08-14 00:09:25 +0800
committerDan Winship <danw@src.gnome.org>2000-08-14 00:09:25 +0800
commit50190de627488d8568299910f297e107576c1b30 (patch)
treea4345846bd0a47df9089d3bda8c06ddfcc072f1b /camel/providers/imap
parent0d66044bc4040da1852f1aea30e4e0fffb3ad0c5 (diff)
downloadgsoc2013-evolution-50190de627488d8568299910f297e107576c1b30.tar
gsoc2013-evolution-50190de627488d8568299910f297e107576c1b30.tar.gz
gsoc2013-evolution-50190de627488d8568299910f297e107576c1b30.tar.bz2
gsoc2013-evolution-50190de627488d8568299910f297e107576c1b30.tar.lz
gsoc2013-evolution-50190de627488d8568299910f297e107576c1b30.tar.xz
gsoc2013-evolution-50190de627488d8568299910f297e107576c1b30.tar.zst
gsoc2013-evolution-50190de627488d8568299910f297e107576c1b30.zip
do a strcasecmp rather than just a strcmp when checking if a folder is
* providers/imap/camel-imap-folder.c (imap_get_subfolder_names_internal): do a strcasecmp rather than just a strcmp when checking if a folder is "INBOX", since it is a case-insensitive name. svn path=/trunk/; revision=4801
Diffstat (limited to 'camel/providers/imap')
-rw-r--r--camel/providers/imap/camel-imap-folder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index a836ecafcb..a0735313f2 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -802,7 +802,7 @@ imap_get_subfolder_names_internal (CamelFolder *folder, CamelException *ex)
if (*dir) {
d(fprintf (stderr, "adding folder: %s\n", dir));
- if (!strcmp (dir, "INBOX"))
+ if (!g_strcasecmp (dir, "INBOX"))
found_inbox = TRUE;
g_ptr_array_add (listing, dir);
}