dovecot-1.1: Fix to previous ACL fix..

dovecot at dovecot.org dovecot at dovecot.org
Fri Oct 31 17:46:20 EET 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/d9134d4f139f
changeset: 7992:d9134d4f139f
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Oct 31 17:46:17 2008 +0200
description:
Fix to previous ACL fix..

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/plugins/acl/acl-mailbox-list.c |    2 +-

diffs (12 lines):

diff -r 9f46dff926c0 -r d9134d4f139f src/plugins/acl/acl-mailbox-list.c
--- a/src/plugins/acl/acl-mailbox-list.c	Fri Oct 31 17:45:11 2008 +0200
+++ b/src/plugins/acl/acl-mailbox-list.c	Fri Oct 31 17:46:17 2008 +0200
@@ -225,7 +225,7 @@ acl_mailbox_list_iter_next(struct mailbo
 		}
 		/* skip to next one */
 	}
-	return &ctx->info;
+	return info == NULL ? NULL : &ctx->info;
 }
 
 static int


More information about the dovecot-cvs mailing list