[dovecot-cvs] dovecot/src/lib-storage/index index-sync.c,1.50,1.51

cras at dovecot.org cras at dovecot.org
Fri Jan 6 19:37:32 EET 2006


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

Modified Files:
	index-sync.c 
Log Message:
Changed mail_index_view_sync_next() to return struct
mail_index_view_sync_rec records which only contain the type and UID range.
Makes it clearer that the caller won't get anything else, and flag updates
now don't need to update add_flags/remove_flags fields.



Index: index-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-sync.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- index-sync.c	6 Jan 2006 15:25:08 -0000	1.50
+++ index-sync.c	6 Jan 2006 17:37:30 -0000	1.51
@@ -173,7 +173,7 @@
 {
 	struct index_mailbox_sync_context *ctx =
 		(struct index_mailbox_sync_context *)_ctx;
-	struct mail_index_sync_rec sync;
+	struct mail_index_view_sync_rec sync;
 	int ret;
 
 	if (ctx->failed)



More information about the dovecot-cvs mailing list