diff options
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/imap4/camel-imap4-utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/providers/imap4/camel-imap4-utils.c b/camel/providers/imap4/camel-imap4-utils.c index e8f0627ea2..c95438e95a 100644 --- a/camel/providers/imap4/camel-imap4-utils.c +++ b/camel/providers/imap4/camel-imap4-utils.c @@ -144,6 +144,9 @@ camel_imap4_get_path_delim (CamelIMAP4StoreSummary *s, const char *full_name) size_t len; char *top; + if (s->namespaces == NULL) + return '/'; + if ((slash = strchr (full_name, '/'))) len = (slash - full_name); else |