Mercurial > dovecot > original-hg > dovecot-1.2
changeset 7028:78a75a5a5350 HEAD
Refresh index when we want to know the next_uid, otherwise we might have
used too low value.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 22 Dec 2007 03:17:46 +0200 |
parents | ae06eb5e2638 |
children | 595b600ddf8b |
files | src/lib-storage/index/mbox/mbox-save.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ /* 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);