dovecot: Refresh index when we want to know the next_uid, otherw...
dovecot at dovecot.org
dovecot at dovecot.org
Sat Dec 22 03:17:54 EET 2007
details: http://hg.dovecot.org/dovecot/rev/78a75a5a5350
changeset: 7028:78a75a5a5350
user: Timo Sirainen <tss at iki.fi>
date: Sat Dec 22 03:17:46 2007 +0200
description:
Refresh index when we want to know the next_uid, otherwise we might have
used too low value.
diffstat:
1 file changed, 1 insertion(+)
src/lib-storage/index/mbox/mbox-save.c | 1 +
diffs (11 lines):
diff -r ae06eb5e2638 -r 78a75a5a5350 src/lib-storage/index/mbox/mbox-save.c
--- a/src/lib-storage/index/mbox/mbox-save.c Sat Dec 22 03:05:29 2007 +0200
+++ b/src/lib-storage/index/mbox/mbox-save.c Sat Dec 22 03:17:46 2007 +0200
@@ -195,6 +195,7 @@ static void mbox_save_init_sync(struct m
/* open a new view to get the header. this is required if we just
synced the mailbox so we can get updated next_uid. */
+ (void)mail_index_refresh(mbox->ibox.index);
view = mail_index_view_open(mbox->ibox.index);
hdr = mail_index_get_header(view);
More information about the dovecot-cvs
mailing list