]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
STORE .. FLAGS.SILENT will now return flags anyway if mailbox is read-only.
authorTimo Sirainen <tss@iki.fi>
Tue, 4 Nov 2003 20:40:58 +0000 (22:40 +0200)
committerTimo Sirainen <tss@iki.fi>
Tue, 4 Nov 2003 20:40:58 +0000 (22:40 +0200)
--HG--
branch : HEAD

src/imap/cmd-store.c

index 4022de732672805a31dc3e76c3e27e5d164e918e..da61646386cd683dfc98d152ed6d8fb014fe73a2 100644 (file)
@@ -101,6 +101,8 @@ int cmd_store(struct client *client)
        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);