changeset 273:9be2c12d0983 HEAD

STORE needs to sync too, or maildir could see old filenames.
author Timo Sirainen <tss@iki.fi>
date Thu, 19 Sep 2002 21:58:09 +0300
parents de8683b5bb16
children ce5b402f6a7a
files src/lib-storage/index/index-update-flags.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/index/index-update-flags.c	Thu Sep 19 20:49:11 2002 +0300
+++ b/src/lib-storage/index/index-update-flags.c	Thu Sep 19 21:58:09 2002 +0300
@@ -65,6 +65,9 @@
 		return FALSE;
 	}
 
+	if (!index_storage_sync_if_possible(ibox))
+		return FALSE;
+
 	if (!index_mailbox_fix_custom_flags(ibox, &flags, custom_flags))
 		return FALSE;