[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync.c, 1.101, 1.102

cras at dovecot.org cras at dovecot.org
Mon Oct 11 15:22:28 EEST 2004


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

Modified Files:
	mbox-sync.c 
Log Message:
Crashfix in error condition.



Index: mbox-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync.c,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -d -r1.101 -r1.102
--- mbox-sync.c	9 Oct 2004 13:54:28 -0000	1.101
+++ mbox-sync.c	11 Oct 2004 12:22:25 -0000	1.102
@@ -1179,9 +1179,6 @@
 {
 	struct mbox_sync_mail_context mail_ctx;
 
-	if (mbox_sync_seek(sync_ctx, 0) < 0)
-		return -1;
-
 	sync_ctx->t = mail_index_transaction_begin(sync_ctx->sync_view, FALSE);
 	sync_ctx->update_base_uid_last = sync_ctx->next_uid-1;
 



More information about the dovecot-cvs mailing list