[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync.c, 1.5,
1.6
cras at procontrol.fi
cras at procontrol.fi
Tue May 11 00:09:17 EEST 2004
Update of /home/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv14645/lib-storage/index/mbox
Modified Files:
mbox-sync.c
Log Message:
When committing with no changes, don't try to sync them later.
Index: mbox-sync.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- mbox-sync.c 9 May 2004 21:06:48 -0000 1.5
+++ mbox-sync.c 10 May 2004 21:09:15 -0000 1.6
@@ -381,7 +381,7 @@
else {
if (mail_index_transaction_commit(t, &seq, &offset) < 0)
ret = -1;
- else {
+ else if (seq != 0) {
ibox->commit_log_file_seq = seq;
ibox->commit_log_file_offset = offset;
}
More information about the dovecot-cvs
mailing list