changeset 22471:a2285f68f06d

lib-storage: mail_set_mail_cache_corrupted() - set also internal error string
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Mon, 21 Aug 2017 15:27:48 +0300
parents 038c69311cb5
children 241845e0a426
files src/lib-storage/mail-storage.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/mail-storage.c	Mon Aug 21 15:26:13 2017 +0300
+++ b/src/lib-storage/mail-storage.c	Mon Aug 21 15:27:48 2017 +0300
@@ -2821,6 +2821,9 @@
 					t_strdup_vprintf(fmt, va)));
 	} T_END;
 
+	/* update also the storage's internal error */
+	mailbox_set_index_error(mail->box);
+
 	va_end(va);
 }