dovecot-2.0: dbox: mailbox_update() ignored cache_fields.

dovecot at dovecot.org dovecot at dovecot.org
Mon Feb 22 18:53:28 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/c77e71e0c5bd
changeset: 10806:c77e71e0c5bd
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Feb 22 18:53:21 2010 +0200
description:
dbox: mailbox_update() ignored cache_fields.

diffstat:

 src/lib-storage/index/dbox-single/sdbox-storage.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 58e9e66050e9 -r c77e71e0c5bd src/lib-storage/index/dbox-single/sdbox-storage.c
--- 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);
 }
 


More information about the dovecot-cvs mailing list