dovecot: Don't add nonexistent/children flags automatically here.
dovecot at dovecot.org
dovecot at dovecot.org
Fri Jun 29 17:58:05 EEST 2007
details: http://hg.dovecot.org/dovecot/rev/8351aa73b4df
changeset: 5833:8351aa73b4df
user: Timo Sirainen <tss at iki.fi>
date: Fri Jun 29 17:57:33 2007 +0300
description:
Don't add nonexistent/children flags automatically here.
diffstat:
1 file changed, 2 insertions(+), 8 deletions(-)
src/lib-storage/mailbox-tree.c | 10 ++--------
diffs (25 lines):
diff -r 1d91d36e14a4 -r 8351aa73b4df src/lib-storage/mailbox-tree.c
--- a/src/lib-storage/mailbox-tree.c Fri Jun 29 17:39:45 2007 +0300
+++ b/src/lib-storage/mailbox-tree.c Fri Jun 29 17:57:33 2007 +0300
@@ -94,19 +94,13 @@ mailbox_tree_traverse(struct mailbox_tre
(*node)->parent = parent;
(*node)->name = p_strdup(tree->pool, name);
- if (*path != '\0') {
- (*node)->flags = MAILBOX_NONEXISTENT;
- } else {
- if (created != NULL)
- *created = TRUE;
- }
+ if (created != NULL)
+ *created = TRUE;
}
if (*path == '\0')
break;
- (*node)->flags |= MAILBOX_CHILDREN;
- (*node)->flags &= ~(MAILBOX_NOCHILDREN | MAILBOX_NOINFERIORS);
name = path+1;
parent = *node;
More information about the dovecot-cvs
mailing list