[dovecot-cvs] dovecot/src/lib-index mail-modifylog.c,1.50,1.51
cras at procontrol.fi
cras at procontrol.fi
Wed Jul 23 04:29:34 EEST 2003
Update of /home/cvs/dovecot/src/lib-index
In directory danu:/tmp/cvs-serv26832
Modified Files:
mail-modifylog.c
Log Message:
Mbox syncing / expunging fixes for previous expunge-commit.
Index: mail-modifylog.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-modifylog.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- mail-modifylog.c 21 Jul 2003 14:35:39 -0000 1.50
+++ mail-modifylog.c 23 Jul 2003 00:29:32 -0000 1.51
@@ -797,7 +797,7 @@
/* note that the weird looking logic above is correct.
it's because of reordered seq numbers. */
i_assert(first_uid > file->last_expunge->uid2);
- file->last_expunge->seq2 = last_seq;
+ file->last_expunge->seq2 += (last_seq - first_seq) + 1;
file->last_expunge->uid2 = last_uid;
return TRUE;
}
More information about the dovecot-cvs
mailing list