aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-11-02 05:34:06 +0800
committerDan Winship <danw@src.gnome.org>2000-11-02 05:34:06 +0800
commit1e41fefdba4069d38512156a2cd6dd4313b700d1 (patch)
treed50593dc3d1b7954cc60b5bba3dca87e74f59e11 /camel/providers/imap
parent7362d3534bcc7a71fdc5d529f255ce9370b743eb (diff)
downloadgsoc2013-evolution-1e41fefdba4069d38512156a2cd6dd4313b700d1.tar.gz
gsoc2013-evolution-1e41fefdba4069d38512156a2cd6dd4313b700d1.tar.zst
gsoc2013-evolution-1e41fefdba4069d38512156a2cd6dd4313b700d1.zip
Deal correctly with namespace == ""
* providers/imap/camel-imap-folder.c (imap_get_full_name): Deal correctly with namespace == "" svn path=/trunk/; revision=6322
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 c25006e5a6..a4b8b459de 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -396,7 +396,7 @@ imap_get_full_name (CamelFolder *folder)
CamelURL *url = ((CamelService *)folder->parent_store)->url;
int len;
- if (!url->path || !*url->path)
+ if (!url->path || !*url->path || !strcmp (url->path, "/"))
return folder->full_name;
len = strlen (url->path + 1);
if (!strncmp (url->path + 1, folder->full_name, len) &&