[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync-update.c, 1.45, 1.46

cras at dovecot.org cras at dovecot.org
Tue May 2 16:05:16 EEST 2006


Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv1103

Modified Files:
	mbox-sync-update.c 
Log Message:
Offset update fix



Index: mbox-sync-update.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync-update.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- mbox-sync-update.c	14 Jan 2006 13:59:51 -0000	1.45
+++ mbox-sync-update.c	2 May 2006 13:05:13 -0000	1.46
@@ -53,7 +53,7 @@
 			i_assert(ctx->mail.offset + ctx->mail.space <=
 				 ctx->hdr_offset + pos ||
 				 ctx->mail.offset > ctx->hdr_offset + pos + have);
-			if (ctx->mail.offset > pos) {
+			if (ctx->mail.offset > ctx->hdr_offset + pos) {
 				/* free space offset moves */
 				ctx->mail.offset += diff;
 			}



More information about the dovecot-cvs mailing list