aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-08-17 01:38:56 +0800
committerPeter Williams <peterw@src.gnome.org>2001-08-17 01:38:56 +0800
commit6255c3d1d5210ca5900e92d32a3a9f5ee92febff (patch)
tree58925f35ab70c4fa6d84ad3fa82bdbd2097ebe7f /camel/providers/imap
parent15e67898468111dae0eb53ae5fbcda27be2fe7a4 (diff)
downloadgsoc2013-evolution-6255c3d1d5210ca5900e92d32a3a9f5ee92febff.tar.gz
gsoc2013-evolution-6255c3d1d5210ca5900e92d32a3a9f5ee92febff.tar.zst
gsoc2013-evolution-6255c3d1d5210ca5900e92d32a3a9f5ee92febff.zip
Fix this again. Sigh. Problem of namespace = "" may not yet be completely
2001-08-16 Peter Williams <peterw@ximian.com> * providers/imap/camel-imap-store.c (imap_connect_online): Fix this again. Sigh. Problem of namespace = "" may not yet be completely solved. svn path=/trunk/; revision=12095
Diffstat (limited to 'camel/providers/imap')
-rw-r--r--camel/providers/imap/camel-imap-store.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c
index b6583b511b..fb47561d0c 100644
--- a/camel/providers/imap/camel-imap-store.c
+++ b/camel/providers/imap/camel-imap-store.c
@@ -649,7 +649,7 @@ imap_connect_online (CamelService *service, CamelException *ex)
/* canonicalize the namespace to end with dir_sep */
len = strlen (store->namespace);
- if (store->namespace[len - 1] != store->dir_sep) {
+ if (len && store->namespace[len - 1] != store->dir_sep) {
gchar *tmp;
tmp = g_strdup_printf ("%s%c", store->namespace, store->dir_sep);