dovecot-1.1: mailbox_allow_new_keywords() was returning the oppo...

dovecot at dovecot.org dovecot at dovecot.org
Tue Jan 27 21:31:25 EET 2009


details:   http://hg.dovecot.org/dovecot-1.1/rev/741b32441131
changeset: 8136:741b32441131
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jan 27 14:31:18 2009 -0500
description:
mailbox_allow_new_keywords() was returning the opposite value, causing \* flag to be reported wrong.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-storage/index/index-storage.c |    2 +-

diffs (12 lines):

diff -r feacad68a1a7 -r 741b32441131 src/lib-storage/index/index-storage.c
--- a/src/lib-storage/index/index-storage.c	Mon Jan 26 19:28:25 2009 -0500
+++ b/src/lib-storage/index/index-storage.c	Tue Jan 27 14:31:18 2009 -0500
@@ -467,7 +467,7 @@ bool index_storage_allow_new_keywords(st
 bool index_storage_allow_new_keywords(struct mailbox *box)
 {
 	/* FIXME: return FALSE if we're full */
-	return index_storage_is_readonly(box);
+	return !index_storage_is_readonly(box);
 }
 
 bool index_storage_is_inconsistent(struct mailbox *box)


More information about the dovecot-cvs mailing list