aboutsummaryrefslogtreecommitdiffstats
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
parent7362d3534bcc7a71fdc5d529f255ce9370b743eb (diff)
downloadgsoc2013-evolution-1e41fefdba4069d38512156a2cd6dd4313b700d1.tar
gsoc2013-evolution-1e41fefdba4069d38512156a2cd6dd4313b700d1.tar.gz
gsoc2013-evolution-1e41fefdba4069d38512156a2cd6dd4313b700d1.tar.bz2
gsoc2013-evolution-1e41fefdba4069d38512156a2cd6dd4313b700d1.tar.lz
gsoc2013-evolution-1e41fefdba4069d38512156a2cd6dd4313b700d1.tar.xz
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
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/providers/imap/camel-imap-folder.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 45661080d1..114f8ca5be 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2000-11-01 Dan Winship <danw@helixcode.com>
+
+ * providers/imap/camel-imap-folder.c (imap_get_full_name): Deal
+ correctly with namespace == ""
+
2000-11-01 Gediminas Paulauskas <menesis@delfi.lt>
* camel-charset-map.c, camel-charset-map-private.h: synced all charsets
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) &&