[dovecot-cvs] dovecot/src/lib-index mail-index-fsck.c, 1.17, 1.18 mail-index-private.h, 1.8, 1.9

cras at procontrol.fi cras at procontrol.fi
Thu Apr 29 15:59:19 EEST 2004


Update of /home/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv24856/lib-index

Modified Files:
	mail-index-fsck.c mail-index-private.h 
Log Message:
recent fixes



Index: mail-index-fsck.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-index-fsck.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- mail-index-fsck.c	28 Apr 2004 02:39:03 -0000	1.17
+++ mail-index-fsck.c	29 Apr 2004 12:59:16 -0000	1.18
@@ -61,7 +61,7 @@
 		if ((rec->flags & MAIL_DELETED) != 0)
 			hdr.deleted_messages_count++;
 
-		if ((rec->flags & MAIL_INDEX_MAIL_FLAG_NONRECENT) == 0 &&
+		if ((rec->flags & MAIL_RECENT) != 0 &&
 		    hdr.first_recent_uid_lowwater == 0)
 			hdr.first_recent_uid_lowwater = rec->uid;
 		if ((rec->flags & MAIL_SEEN) == 0 &&

Index: mail-index-private.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-index-private.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- mail-index-private.h	29 Apr 2004 00:08:00 -0000	1.8
+++ mail-index-private.h	29 Apr 2004 12:59:16 -0000	1.9
@@ -24,12 +24,6 @@
    rewritten by another computer than us). */
 #define INDEX_ESTALE_RETRY_COUNT 10
 
-enum mail_index_mail_flags {
-	MAIL_INDEX_MAIL_FLAG_DIRTY = 0x80,
-	MAIL_INDEX_MAIL_FLAG_EXPUNGED = 0x40,
-	MAIL_INDEX_MAIL_FLAG_NONRECENT = MAIL_RECENT
-};
-
 #define MAIL_INDEX_MAP_IS_IN_MEMORY(map) \
 	((map)->buffer != NULL)
 



More information about the dovecot-cvs mailing list