aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-store.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/imap/camel-imap-store.c')
-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 b311a3288b..1bb57cc1a5 100644
--- a/camel/providers/imap/camel-imap-store.c
+++ b/camel/providers/imap/camel-imap-store.c
@@ -2158,7 +2158,7 @@ get_folders(CamelStore *store, const char *top, guint32 flags, CamelException *e
haveinbox = (strcasecmp(fi->full_name, "INBOX")) == 0;
}
- if (!haveinbox && top[0] == imap_store->namespace)
+ if (!haveinbox && top == imap_store->namespace)
get_folders_online(imap_store, "INBOX", folders, FALSE, ex);
for (i=0; i<folders->len; i++)