Mercurial > dovecot > original-hg > dovecot-1.2
changeset 1859:8636c61b3b5a HEAD
STORE .. FLAGS.SILENT will now return flags anyway if mailbox is read-only.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 04 Nov 2003 22:40:58 +0200 |
parents | f59f0c50f018 |
children | 8da9b7748bd4 |
files | src/imap/cmd-store.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/cmd-store.c Wed Oct 29 17:45:41 2003 +0200 +++ b/src/imap/cmd-store.c Tue Nov 04 22:40:58 2003 +0200 @@ -101,6 +101,8 @@ if (box->is_readonly(box)) { /* read-only, don't every try to get write locking */ failed = FALSE; + /* flag changes will fail, notify client about them */ + silent = FALSE; } else { failed = !box->lock(box, MAILBOX_LOCK_FLAGS | MAILBOX_LOCK_READ);