aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/providers/imap/camel-imap-store.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index a5563925de..394e5629d7 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-15 Peter Williams <peterw@ximian.com>
+
+ * providers/imap/camel-imap-store.c (imap_connect_online): Oh crap,
+ huge killer typo.
+
2001-08-14 Peter Williams <peterw@ximian.com>
* providers/imap/camel-imap-store.c (imap_connect_online):
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c
index 1260cb58b2..b6583b511b 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] != store->dir_sep) {
+ if (store->namespace[len - 1] != store->dir_sep) {
gchar *tmp;
tmp = g_strdup_printf ("%s%c", store->namespace, store->dir_sep);