[dovecot-cvs] dovecot/src/lib-index mail-index-view-sync.c, 1.34, 1.35

cras at dovecot.org cras at dovecot.org
Sun Dec 26 14:40:13 EET 2004


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

Modified Files:
	mail-index-view-sync.c 
Log Message:
Flag updates got lost if there were internal flag updates in same
transaction.



Index: mail-index-view-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index-view-sync.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- mail-index-view-sync.c	26 Dec 2004 09:12:40 -0000	1.34
+++ mail-index-view-sync.c	26 Dec 2004 12:40:10 -0000	1.35
@@ -277,6 +277,8 @@
 
 			if (ctx->data_offset == ctx->hdr->size)
 				return 0;
+
+			update = CONST_PTR_OFFSET(data, ctx->data_offset);
 		}
                 mail_index_sync_get_update(rec, update);
 		break;



More information about the dovecot-cvs mailing list