]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
crashfix
authorTimo Sirainen <tss@iki.fi>
Sun, 10 Aug 2003 18:14:39 +0000 (21:14 +0300)
committerTimo Sirainen <tss@iki.fi>
Sun, 10 Aug 2003 18:14:39 +0000 (21:14 +0300)
--HG--
branch : HEAD

src/imap/cmd-store.c

index 00d4b7f27e0438d9d3b153beb165a2ed72a31d9e..61b2dcbfefda8b24e5bb90a9926c0b2e7add48f6 100644 (file)
@@ -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 {