From: Timo Sirainen Date: Thu, 29 Apr 2004 12:59:16 +0000 (+0300) Subject: recent fixes X-Git-Tag: 1.1.alpha1~4168 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a909d051d11e67400b333904e24bf421e99cad7;p=thirdparty%2Fdovecot%2Fcore.git recent fixes --HG-- branch : HEAD --- diff --git a/src/lib-index/mail-index-fsck.c b/src/lib-index/mail-index-fsck.c index f02124ded5..95d2869a20 100644 --- a/src/lib-index/mail-index-fsck.c +++ b/src/lib-index/mail-index-fsck.c @@ -61,7 +61,7 @@ static int mail_index_fsck_locked(struct mail_index *index, 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 && diff --git a/src/lib-index/mail-index-private.h b/src/lib-index/mail-index-private.h index c33275f916..8beb3ea48d 100644 --- a/src/lib-index/mail-index-private.h +++ b/src/lib-index/mail-index-private.h @@ -24,12 +24,6 @@ struct mail_transaction_header; 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)