[dovecot-cvs] dovecot/src/imap cmd-list.c,1.68,1.69

tss at dovecot.org tss at dovecot.org
Tue Apr 17 19:04:17 EEST 2007


Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv31678

Modified Files:
	cmd-list.c 
Log Message:
fix



Index: cmd-list.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/cmd-list.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- cmd-list.c	3 Apr 2007 08:34:29 -0000	1.68
+++ cmd-list.c	17 Apr 2007 16:04:15 -0000	1.69
@@ -236,7 +236,6 @@
 	const char *cur_ns_prefix, *cur_ref, *cur_mask;
 	enum imap_match_result match;
 	enum imap_match_result inbox_match;
-	enum mailbox_list_flags list_flags;
 	struct mailbox_list *list;
 	struct imap_match_glob *inbox_glob;
 	unsigned int count;
@@ -395,13 +394,10 @@
 	cur_ref = mail_namespace_fix_sep(ns, cur_ref);
 	cur_mask = mail_namespace_fix_sep(ns, cur_mask);
 
-	list_flags = ctx->list_flags;
-	if (ctx->match_inbox)
-		list_flags |= MAILBOX_LIST_FLAG_INBOX;
-
 	list = mail_storage_get_list(ns->storage);
 	cur_mask = mailbox_list_join_refmask(list, cur_ref, cur_mask);
-	ctx->list_iter = mailbox_list_iter_init(list, cur_mask, list_flags);
+	ctx->list_iter = mailbox_list_iter_init(list, cur_mask,
+						ctx->list_flags);
 }
 
 static bool cmd_list_continue(struct client_command_context *cmd)



More information about the dovecot-cvs mailing list