]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
dbox: mailbox_update() ignored cache_fields.
authorTimo Sirainen <tss@iki.fi>
Mon, 22 Feb 2010 16:53:21 +0000 (18:53 +0200)
committerTimo Sirainen <tss@iki.fi>
Mon, 22 Feb 2010 16:53:21 +0000 (18:53 +0200)
--HG--
branch : HEAD

src/lib-storage/index/dbox-single/sdbox-storage.c

index 42502b73cfa103cf0e5b9d74bb1729353748f5bd..1c2e085d122939198ae91c0ac829b17177ead848 100644 (file)
@@ -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);
 }