blob: e868e8caccfb2c14dda3d16d85bf47609fce211c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-an,v 1.1 2007/10/15 15:37:21 jlam Exp $
--- imap/mailboxlist.c.orig Fri Jul 27 02:41:01 2007
+++ imap/mailboxlist.c
@@ -347,9 +347,11 @@ static void folder_entry(char *folder, c
if (!need_add_folders && !need_add_hier)
return; /* Nothing to do */
+ {
CHECK_RIGHTSM(folder, have_rights, ACL_LOOKUP);
if (!have_rights[0])
return;
+ }
if (need_add_folders)
(void) add_hier(folders, folder);
|