[dovecot-cvs] dovecot/src/imap imap-sync.c,1.4,1.5

cras at dovecot.org cras at dovecot.org
Sun Nov 14 01:08:09 EET 2004


Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv30612/imap

Modified Files:
	imap-sync.c 
Log Message:
Update view's header only after syncing the view. This and other changes fix
several view syncing problems and crashes.



Index: imap-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/imap-sync.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- imap-sync.c	29 Aug 2004 07:52:02 -0000	1.4
+++ imap-sync.c	13 Nov 2004 23:08:07 -0000	1.5
@@ -39,8 +39,8 @@
 	ctx->client = client;
 	ctx->box = box;
 
-	ctx->t = mailbox_transaction_begin(box, FALSE);
 	ctx->sync_ctx = mailbox_sync_init(box, flags);
+	ctx->t = mailbox_transaction_begin(box, FALSE);
 	ctx->messages_count = client->messages_count;
 	return ctx;
 }



More information about the dovecot-cvs mailing list