Bigfix in IMAP LIST
* imap4d/list.c (list_fun): List matching directories.
Showing
1 changed file
with
3 additions
and
1 deletions
... | @@ -37,7 +37,9 @@ list_fun (mu_folder_t folder, struct mu_list_response *resp, void *data) | ... | @@ -37,7 +37,9 @@ list_fun (mu_folder_t folder, struct mu_list_response *resp, void *data) |
37 | size_t size; | 37 | size_t size; |
38 | char *p; | 38 | char *p; |
39 | 39 | ||
40 | if (refinfo->pfx->record && refinfo->pfx->record != resp->format) | 40 | if ((resp->type & MU_FOLDER_ATTRIBUTE_FILE) |
41 | && refinfo->pfx->record | ||
42 | && refinfo->pfx->record != resp->format) | ||
41 | return 0; | 43 | return 0; |
42 | 44 | ||
43 | name = resp->name; | 45 | name = resp->name; | ... | ... |
-
Please register or sign in to post a comment