From: Timo Sirainen Date: Tue, 27 Jan 2009 19:33:48 +0000 (-0500) Subject: mailbox_allow_new_keywords() was returning the opposite value, causing \* flag to... X-Git-Tag: 1.2.beta1~49 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=46a90251ad007ce048a03df78512d829b2efe8d8;p=thirdparty%2Fdovecot%2Fcore.git mailbox_allow_new_keywords() was returning the opposite value, causing \* flag to be reported wrong. --HG-- branch : HEAD --- diff --git a/src/lib-storage/index/index-storage.c b/src/lib-storage/index/index-storage.c index 5dc73984b1..d6e4aa90f5 100644 --- a/src/lib-storage/index/index-storage.c +++ b/src/lib-storage/index/index-storage.c @@ -520,7 +520,7 @@ bool index_storage_is_readonly(struct mailbox *box) 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)