aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-vee-store.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-vee-store.c')
-rw-r--r--camel/camel-vee-store.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-vee-store.c b/camel/camel-vee-store.c
index 3d06357132..6bfee52da1 100644
--- a/camel/camel-vee-store.c
+++ b/camel/camel-vee-store.c
@@ -248,8 +248,8 @@ vee_get_folder_info(CamelStore *store, const char *top, guint32 flags, CamelExce
&& ((flags & CAMEL_STORE_FOLDER_INFO_RECURSIVE)
|| strchr(name+toplen+1, '/') == NULL)));
} else {
- if ((flags & CAMEL_STORE_FOLDER_INFO_RECURSIVE) == 0)
- add = strchr(name, '/') == NULL;
+ add = (flags & CAMEL_STORE_FOLDER_INFO_RECURSIVE)
+ || strchr(name, '/') == NULL;
}
d(printf("%sadding '%s'\n", add?"":"not ", name));