[dovecot-cvs] dovecot/src/lib-index mail-index-sync-update.c, 1.46, 1.47

cras at dovecot.org cras at dovecot.org
Fri Sep 24 14:44:35 EEST 2004


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

Modified Files:
	mail-index-sync-update.c 
Log Message:
hdr_flag_have_dirty wasn't set if dirty flags were set in appends.



Index: mail-index-sync-update.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index-sync-update.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- mail-index-sync-update.c	12 Sep 2004 13:05:24 -0000	1.46
+++ mail-index-sync-update.c	24 Sep 2004 11:44:33 -0000	1.47
@@ -155,6 +155,9 @@
 	view->messages_count++;
 	map->records_count++;
 
+	if ((rec->flags & MAIL_INDEX_MAIL_FLAG_DIRTY) != 0)
+		hdr->flags |= MAIL_INDEX_HDR_FLAG_HAVE_DIRTY;
+
 	mail_index_header_update_counts(hdr, 0, rec->flags);
 	mail_index_header_update_lowwaters(hdr, rec);
 	return 1;



More information about the dovecot-cvs mailing list