]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: index_mail_set_cache_corrupted() - Don't reset internal error string
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 21 Aug 2017 12:29:46 +0000 (15:29 +0300)
committerAki Tuomi <aki.tuomi@dovecot.fi>
Fri, 25 Aug 2017 12:56:10 +0000 (15:56 +0300)
It's already set correctly by the earlier functions.

src/lib-storage/index/index-mail.c

index be4df61a317561dc7071f1075b0a4a9bbed63a01..0d3afff8151c637be85194c6f3e92ccb8523b213 100644 (file)
@@ -2354,7 +2354,6 @@ void index_mail_set_cache_corrupted(struct mail *mail,
                        "Broken %s in mailbox %s: %s",
                        field_name, mail->box->vname, reason);
        }
-       mail_storage_set_internal_error(mail->box->storage);
 }
 
 int index_mail_opened(struct mail *mail ATTR_UNUSED,