From: Timo Sirainen Date: Sun, 10 Aug 2003 18:14:39 +0000 (+0300) Subject: crashfix X-Git-Tag: 1.1.alpha1~4432 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fba0d7e7f265f83160229170de69b23d5f181847;p=thirdparty%2Fdovecot%2Fcore.git crashfix --HG-- branch : HEAD --- diff --git a/src/imap/cmd-store.c b/src/imap/cmd-store.c index 00d4b7f27e..61b2dcbfef 100644 --- a/src/imap/cmd-store.c +++ b/src/imap/cmd-store.c @@ -96,7 +96,7 @@ int cmd_store(struct client *client) /* and update the flags */ box = client->mailbox; - if (!box->is_readonly(box)) { + if (box->is_readonly(box)) { /* read-only, don't every try to get write locking */ failed = FALSE; } else {