[dovecot-cvs] dovecot/src/imap cmd-store.c,1.20,1.21
cras at procontrol.fi
cras at procontrol.fi
Tue Nov 4 22:41:00 EET 2003
Update of /home/cvs/dovecot/src/imap
In directory danu:/tmp/cvs-serv22899
Modified Files:
cmd-store.c
Log Message:
STORE .. FLAGS.SILENT will now return flags anyway if mailbox is read-only.
Index: cmd-store.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/cmd-store.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- cmd-store.c 26 Oct 2003 20:13:15 -0000 1.20
+++ cmd-store.c 4 Nov 2003 20:40:58 -0000 1.21
@@ -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);
More information about the dovecot-cvs
mailing list