]> 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)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Tue, 12 Sep 2017 09:28:59 +0000 (12:28 +0300)
It's already set correctly by the earlier functions.

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

index 1d5c3d03adfc20c35fdff7d87d1ce2b34ab4e6b4..ee6f91185f62151a835cbe892457147fe0fbdc7f 100644 (file)
@@ -2352,7 +2352,6 @@ void index_mail_set_cache_corrupted_reason(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,