From 6255c3d1d5210ca5900e92d32a3a9f5ee92febff Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Thu, 16 Aug 2001 17:38:56 +0000 Subject: Fix this again. Sigh. Problem of namespace = "" may not yet be completely 2001-08-16 Peter Williams * 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 --- camel/ChangeLog | 6 ++++++ camel/providers/imap/camel-imap-store.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'camel') diff --git a/camel/ChangeLog b/camel/ChangeLog index d06a415ac5..a25a67fffb 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,9 @@ +2001-08-16 Peter Williams + + * providers/imap/camel-imap-store.c (imap_connect_online): Fix this + again. Sigh. Problem of namespace = "" may not yet be completely + solved. + 2001-08-15 Peter Williams * camel-tcp-stream-openssl.c (ssl_error_to_errno): New function. Try 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); -- cgit v1.2.3