[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync-rewrite.c, 1.56, 1.57

cras at dovecot.org cras at dovecot.org
Fri Oct 28 17:48:31 EEST 2005


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

Modified Files:
	mbox-sync-rewrite.c 
Log Message:
Make sure we are seeked to correct position if using the last mail's
mail_ctx directly.



Index: mbox-sync-rewrite.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync-rewrite.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- mbox-sync-rewrite.c	28 Oct 2005 14:01:28 -0000	1.56
+++ mbox-sync-rewrite.c	28 Oct 2005 14:48:29 -0000	1.57
@@ -378,6 +378,7 @@
 		i_assert(seq == mail_ctx->seq);
 		if (mail_ctx->mail.space < 0)
 			mail_ctx->mail.space = 0;
+		i_stream_seek(sync_ctx->input, mail_ctx->body_offset);
 	}
 
 	if (first_nonexpunged && expunged_space > 0) {



More information about the dovecot-cvs mailing list