From: Timo Sirainen Date: Mon, 22 Feb 2010 16:53:21 +0000 (+0200) Subject: dbox: mailbox_update() ignored cache_fields. X-Git-Tag: 2.0.beta4~162 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5539418f448cd9bb38fc085e654861479dd1130b;p=thirdparty%2Fdovecot%2Fcore.git dbox: mailbox_update() ignored cache_fields. --HG-- branch : HEAD --- diff --git a/src/lib-storage/index/dbox-single/sdbox-storage.c b/src/lib-storage/index/dbox-single/sdbox-storage.c index 42502b73cf..1c2e085d12 100644 --- a/src/lib-storage/index/dbox-single/sdbox-storage.c +++ b/src/lib-storage/index/dbox-single/sdbox-storage.c @@ -194,6 +194,8 @@ dbox_mailbox_update(struct mailbox *box, const struct mailbox_update *update) 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); }