diff src/lib-storage/index/dbox-single/sdbox-storage.c @ 10806:c77e71e0c5bd HEAD

dbox: mailbox_update() ignored cache_fields.
author Timo Sirainen <tss@iki.fi>
date Mon, 22 Feb 2010 18:53:21 +0200
parents a3ec94b25456
children 46ede677961d
line wrap: on
line diff
--- a/src/lib-storage/index/dbox-single/sdbox-storage.c	Mon Feb 22 18:52:41 2010 +0200
+++ b/src/lib-storage/index/dbox-single/sdbox-storage.c	Mon Feb 22 18:53:21 2010 +0200
@@ -194,6 +194,8 @@
 		if (index_storage_mailbox_open(box, FALSE) < 0)
 			return -1;
 	}
+	if (update->cache_fields != NULL)
+		index_storage_mailbox_update_cache_fields(box, update);
 	return sdbox_write_index_header(box, update);
 }