dovecot-1.2: maildir saving: If dovecot-uidlist reading failed, ...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Apr 14 01:24:14 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/aba994bec90b
changeset: 8940:aba994bec90b
user: Timo Sirainen <tss at iki.fi>
date: Mon Apr 13 16:11:15 2009 -0400
description:
maildir saving: If dovecot-uidlist reading failed, we might have gone forward and crashed.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-storage/index/maildir/maildir-save.c | 2 +-
diffs (12 lines):
diff -r 302bfa9ae105 -r aba994bec90b src/lib-storage/index/maildir/maildir-save.c
--- a/src/lib-storage/index/maildir/maildir-save.c Sat Apr 11 23:12:48 2009 -0400
+++ b/src/lib-storage/index/maildir/maildir-save.c Mon Apr 13 16:11:15 2009 -0400
@@ -625,7 +625,7 @@ maildir_transaction_save_commit_pre_sync
if (maildir_sync_header_refresh(mbox) < 0)
return -1;
if (maildir_uidlist_refresh_fast_init(mbox->uidlist) < 0)
- return 1;
+ return -1;
/* now that uidlist is locked, make sure all the existing mails
have been added to index. we don't really look into the
More information about the dovecot-cvs
mailing list