changeset 8694:d564ff619baf HEAD

mailbox_allow_new_keywords() was returning the opposite value, causing \* flag to be reported wrong.
author Timo Sirainen <tss@iki.fi>
date Tue, 27 Jan 2009 14:33:48 -0500
parents a15d1f8bd289
children e296435586c1
files src/lib-storage/index/index-storage.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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(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)