[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync-update.c, 1.30, 1.31

cras at dovecot.org cras at dovecot.org
Fri Apr 8 01:09:09 EEST 2005


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

Modified Files:
	mbox-sync-update.c 
Log Message:
Non-Recent Status-flag wasn't updated correctly.



Index: mbox-sync-update.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync-update.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- mbox-sync-update.c	2 Apr 2005 21:09:07 -0000	1.30
+++ mbox-sync-update.c	7 Apr 2005 22:09:07 -0000	1.31
@@ -64,6 +64,8 @@
 	size_t size;
 	int i, need, have;
 
+	ctx->mail.flags ^= MBOX_NONRECENT_KLUDGE;
+
 	if (ctx->header_first_change > pos)
 		ctx->header_first_change = pos;
 
@@ -101,6 +103,8 @@
 		if ((ctx->mail.flags & flags_list[i].flag) != 0)
 			*data++ = flags_list[i].chr;
 	}
+
+	ctx->mail.flags ^= MBOX_NONRECENT_KLUDGE;
 }
 
 static void keywords_append(struct mbox_sync_context *sync_ctx, string_t *dest,



More information about the dovecot-cvs mailing list