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

dovecot at dovecot.org dovecot at dovecot.org
Tue Jan 27 21:33:53 EET 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/d564ff619baf
changeset: 8694:d564ff619baf
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jan 27 14:33:48 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 a15d1f8bd289 -r d564ff619baf src/lib-storage/index/index-storage.c
--- a/src/lib-storage/index/index-storage.c	Tue Jan 27 13:15:16 2009 -0500
+++ b/src/lib-storage/index/index-storage.c	Tue Jan 27 14:33:48 2009 -0500
@@ -520,7 +520,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