diff options
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/imap/camel-imap-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-utils.c b/camel/providers/imap/camel-imap-utils.c index 98c8d63dd2..e4d8bfeb02 100644 --- a/camel/providers/imap/camel-imap-utils.c +++ b/camel/providers/imap/camel-imap-utils.c @@ -97,7 +97,7 @@ imap_parse_list_response (const char *buf, const char *namespace, char **flags, /* chop out the folder prefix */ if (*namespace && !strncmp (*folder, namespace, strlen (namespace))) { f = *folder + strlen (namespace); - if (!strncmp (f, *sep, strlen (*sep))) + if (*sep && !strncmp (f, *sep, strlen (*sep))) f += strlen (*sep); memmove (*folder, f, strlen (f) + 1); } |