[dovecot-cvs] dovecot/src/lib-index mail-cache-sync-update.c, 1.7,
1.8
cras at dovecot.org
cras at dovecot.org
Thu Jun 16 22:26:49 EEST 2005
Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv14053
Modified Files:
mail-cache-sync-update.c
Log Message:
mail_cache_delete() wasn't actually being called for expunged mails, so
cache file kept growing without ever being compressed.
Index: mail-cache-sync-update.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-cache-sync-update.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- mail-cache-sync-update.c 5 Dec 2004 01:38:17 -0000 1.7
+++ mail-cache-sync-update.c 16 Jun 2005 19:26:46 -0000 1.8
@@ -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;
}
More information about the dovecot-cvs
mailing list