aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author0 <NotZed@Ximian.com>2001-10-30 09:34:55 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-30 09:34:55 +0800
commite6e77f1fc333b12693989ccbbd9a432465c6ffd6 (patch)
tree452ada810be988b82844ad98d17eb63012994860
parent11de06a775a47ed6eae672b82e1fbf143550af29 (diff)
downloadgsoc2013-evolution-e6e77f1fc333b12693989ccbbd9a432465c6ffd6.tar
gsoc2013-evolution-e6e77f1fc333b12693989ccbbd9a432465c6ffd6.tar.gz
gsoc2013-evolution-e6e77f1fc333b12693989ccbbd9a432465c6ffd6.tar.bz2
gsoc2013-evolution-e6e77f1fc333b12693989ccbbd9a432465c6ffd6.tar.lz
gsoc2013-evolution-e6e77f1fc333b12693989ccbbd9a432465c6ffd6.tar.xz
gsoc2013-evolution-e6e77f1fc333b12693989ccbbd9a432465c6ffd6.tar.zst
gsoc2013-evolution-e6e77f1fc333b12693989ccbbd9a432465c6ffd6.zip
If we get an empty name, then mark that as NoSelect. Workaround fix for
2001-10-30 <NotZed@Ximian.com> * providers/imap/camel-imap-store.c (parse_list_response_as_folder_info): If we get an empty name, then mark that as NoSelect. Workaround fix for #13239. svn path=/trunk/; revision=14392
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/providers/imap/camel-imap-store.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 7e9eb71f7a..fbf87612d3 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+2001-10-30 <NotZed@Ximian.com>
+
+ * providers/imap/camel-imap-store.c
+ (parse_list_response_as_folder_info): If we get an empty name,
+ then mark that as NoSelect. Workaround fix for #13239.
+
2001-10-29 Dan Winship <danw@ximian.com>
* providers/imap/camel-imap-folder.c (get_message_simple,
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c
index ca5af7d3c9..1ef9b6edad 100644
--- a/camel/providers/imap/camel-imap-store.c
+++ b/camel/providers/imap/camel-imap-store.c
@@ -1387,7 +1387,7 @@ parse_list_response_as_folder_info (CamelImapStore *imap_store,
return NULL;
}
}
-
+
fi = g_new0 (CamelFolderInfo, 1);
fi->full_name = dir;
if (sep && name)
@@ -1398,7 +1398,7 @@ parse_list_response_as_folder_info (CamelImapStore *imap_store,
url = camel_url_new (imap_store->base_url, NULL);
g_free (url->path);
url->path = g_strdup_printf ("/%s", dir);
- if (flags & IMAP_LIST_FLAG_NOSELECT)
+ if (flags & IMAP_LIST_FLAG_NOSELECT || fi->name[0] == 0)
camel_url_set_param (url, "noselect", "yes");
fi->url = camel_url_to_string (url, 0);
camel_url_free (url);