Mercurial > dovecot > original-hg > dovecot-1.2
changeset 3434:3a98900070ee HEAD
mail_cache_delete() wasn't actually being called for expunged mails, so
cache file kept growing without ever being compressed.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 16 Jun 2005 22:26:46 +0300 |
parents | d517de69f693 |
children | 6f7ce690358e |
files | src/lib-index/mail-cache-sync-update.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-index/mail-cache-sync-update.c Thu Jun 16 12:01:59 2005 +0300 +++ b/src/lib-index/mail-cache-sync-update.c Thu Jun 16 22:26:46 2005 +0300 @@ -91,7 +91,7 @@ return 1; if (!MAIL_CACHE_IS_UNUSABLE(cache) && - cache_file_seq != cache->hdr->file_seq) + cache_file_seq == cache->hdr->file_seq) (void)mail_cache_delete(cache, *cache_offset); return 1; }