From 1e41fefdba4069d38512156a2cd6dd4313b700d1 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 1 Nov 2000 21:34:06 +0000 Subject: Deal correctly with namespace == "" * providers/imap/camel-imap-folder.c (imap_get_full_name): Deal correctly with namespace == "" svn path=/trunk/; revision=6322 --- camel/ChangeLog | 5 +++++ camel/providers/imap/camel-imap-folder.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'camel') 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 + + * providers/imap/camel-imap-folder.c (imap_get_full_name): Deal + correctly with namespace == "" + 2000-11-01 Gediminas Paulauskas * 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) && -- cgit