From 580a9b1815c0def8b58d2fc7b155cc4dfdb41c86 Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Wed, 15 Aug 2001 14:05:49 +0000 Subject: Oh crap, huge killer typo. 2001-08-15 Peter Williams * providers/imap/camel-imap-store.c (imap_connect_online): Oh crap, huge killer typo. svn path=/trunk/; revision=12048 --- camel/providers/imap/camel-imap-store.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camel/providers/imap') 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); -- cgit v1.2.3