"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/lib-storage/mailbox-guid-cache.c" between
dovecot-2.3.16.tar.gz and dovecot-2.3.17.tar.gz

About: Dovecot is an IMAP and POP3 server, written with security primarily in mind.

mailbox-guid-cache.c  (dovecot-2.3.16):mailbox-guid-cache.c  (dovecot-2.3.17)
skipping to change at line 96 skipping to change at line 96
list->guid_cache_updated = FALSE; list->guid_cache_updated = FALSE;
list->guid_cache_errors = FALSE; list->guid_cache_errors = FALSE;
ctx = mailbox_list_iter_init(list, "*", ctx = mailbox_list_iter_init(list, "*",
MAILBOX_LIST_ITER_SKIP_ALIASES | MAILBOX_LIST_ITER_SKIP_ALIASES |
MAILBOX_LIST_ITER_NO_AUTO_BOXES); MAILBOX_LIST_ITER_NO_AUTO_BOXES);
while ((info = mailbox_list_iter_next(ctx)) != NULL) { while ((info = mailbox_list_iter_next(ctx)) != NULL) {
if ((info->flags & if ((info->flags &
(MAILBOX_NOSELECT | MAILBOX_NONEXISTENT)) != 0) (MAILBOX_NOSELECT | MAILBOX_NONEXISTENT)) != 0)
continue; continue;
mailbox_guid_cache_add_mailbox(list, info); T_BEGIN {
mailbox_guid_cache_add_mailbox(list, info);
} T_END;
} }
if ((list->ns->prefix_len > 0) && !mail_namespace_prefix_is_inbox(list->n s)) { if ((list->ns->prefix_len > 0) && !mail_namespace_prefix_is_inbox(list->n s)) {
/* Also check if namespace prefix is a selectable mailbox /* Also check if namespace prefix is a selectable mailbox
and add it to cache. Does not need to include INBOX since and add it to cache. Does not need to include INBOX since
it is added separately by mailbox_list_iter_init above. */ it is added separately by mailbox_list_iter_init above. */
const char *ns_vname = t_strndup(list->ns->prefix, const char *ns_vname = t_strndup(list->ns->prefix,
list->ns->prefix_len-1); list->ns->prefix_len-1);
const struct mailbox_info ns_info = { const struct mailbox_info ns_info = {
.vname = ns_vname, .vname = ns_vname,
.ns = list->ns, .ns = list->ns,
 End of changes. 1 change blocks. 
1 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)