diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-08-26 01:29:43 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-08-26 01:29:43 +0800 |
commit | a70be7b583b452066fd48ce2ff90280f501c8a8a (patch) | |
tree | f5ea79d6dc25d1f276b63c14d2afcacb3a382825 /camel/providers | |
parent | a4852041b46f99cbe304b6c31e95d838de59aba7 (diff) | |
download | gsoc2013-evolution-a70be7b583b452066fd48ce2ff90280f501c8a8a.tar.gz gsoc2013-evolution-a70be7b583b452066fd48ce2ff90280f501c8a8a.tar.zst gsoc2013-evolution-a70be7b583b452066fd48ce2ff90280f501c8a8a.zip |
If the url path is "/" and the folder path is "/", just LIST "" "*" (this
2000-08-25 Jeffrey Stedfast <fejj@helixcode.com>
* providers/imap/camel-imap-folder.c
(imap_get_subfolder_names_internal): If the url path is "/" and
the folder path is "/", just LIST "" "*" (this should fix some
cyrus imapd problems). Also, INBOX is case insensitive so use
g_strcasecmp
svn path=/trunk/; revision=5038
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/imap/camel-imap-folder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index 72c04d972e..78fbe38717 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -750,7 +750,7 @@ imap_get_subfolder_names_internal (CamelFolder *folder, CamelException *ex) if (url && url->path) { if (!strcmp (folder->full_name, url->path + 1)) namespace = g_strdup (url->path + 1); - else if (!strcmp (folder->full_name, "INBOX")) + else if (!g_strcasecmp (folder->full_name, "INBOX")) namespace = g_strdup (url->path + 1); /* FIXME: erm...not sure */ else namespace = g_strdup_printf ("%s%s%s", url->path + 1, dir_sep, folder->full_name); @@ -765,7 +765,7 @@ imap_get_subfolder_names_internal (CamelFolder *folder, CamelException *ex) if (*path) { if (!strcmp (folder->full_name, path)) namespace = g_strdup (path); - else if (!strcmp (folder->full_name, "INBOX")) + else if (!g_strcasecmp (folder->full_name, "INBOX")) namespace = g_strdup (path); /* FIXME: erm...not sure */ else namespace = g_strdup_printf ("%s%s%s", path, dir_sep, folder->full_name); |